RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEndUserSessionAdapter.GetUserID Method

Returns the user ID of the current user.

Pascal
function GetUserID: Variant; override;
C++
virtual __fastcall Variant GetUserID();

GetUserIDValue is the implementation of the UserID adapter field. When a server-side script references the user ID of the current user, it generates a call to GetUserIDValue.  

In TCustomEndUserSessionAdapter, GetUserID fetches the value of the UserID property from the current Web session. This value is set when the user first logs in. 

 

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