RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEndUserAdapter.GetLoggedInValue Method

Generates an OnIsLoggedIn event.

Pascal
function GetLoggedInValue: Boolean; override;
C++
virtual __fastcall Boolean GetLoggedInValue();

GetLoggedInValue is the implementation of the LoggedIn adapter field. When a server-side script references the LoggedIn field for the current user, it generates a call to GetLoggedInValue. TCustomEndUserAdapter responds by generating an OnIsLoggedIn event, where you can indicate whether the current user has logged in. 

GetLoggedInValue returns the value that the OnGetLoggedIn event handler provides. If you do not supply an OnGetLoggedIn event handler, GetLoggedInValue returns false. 

 

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