RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TEndUserAdapter.OnGetDisplayName Event

Occurs when the adapter needs to provide the name of the current end user.

Pascal
property OnGetDisplayName: TEndUserGetNameEvent;
C++
__property TEndUserGetNameEvent OnGetDisplayName;

Write an OnGetDisplayName event handler to provide the value of the DisplayName field. When a server-side script (or a caller of the IWebEndUser interface) requests the display name for the current end user, TCustomEndUserAdapter generates an OnGetDisplayName event to retrieve that value.

Note: If you do not supply an OnGetDisplayName event handler, TCustomEndUserAdapter always returns an empty string as the display name for the current end user.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!