RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEndUserSessionAdapter.GetLoggedInValue Method

Indicates whether the current end user has logged in.

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.  

In TCustomEndUserAdapter, GetLoggedInValue checks whether the UserID property has been assigned. If UserID is an assigned Variant other than an empty string, GetLoggedInValue returns true, indicating that the user has logged in. Otherwise, GetLoggedInValue returns false. 

 

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