RAD Studio VCL Reference
|
Generates an OnGetUserID event.
function GetUserID: Variant; override;
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. TCustomEndUserAdapter responds by generating an OnGetUserID event, where you can take supply the ID of the current user.
GetUserIDValue returns the user ID that the OnGetUserID event handler provides. If you do not supply an OnGetUserID event handler, GetUserIDValue returns an unassigned Variant.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|