RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEndUserSessionAdapter.GetDisplayNameValue Method

Returns the name of the current end user.

Pascal
function GetDisplayNameValue: string; override;
C++
virtual __fastcall AnsiString GetDisplayNameValue();

GetDisplayNameValue is the implementation of the DisplayName adapter field. When a server-side script references the display name of the current user, it generates a call to GetDisplayNameValue. 

In TCustomEndUserSessionAdapter, GetDisplayNameValue returns the value of the UserID property, formatted as a string. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!