RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebEndUser.LoggedIn Property

Indicates whether the current user is logged in.

Pascal
property LoggedIn: Boolean;
C++
__property Boolean LoggedIn;

Read LoggedIn to determine whether the current user has logged in to the WebSnap application. By logging in, a caller can be identified as one of the users that a TWebUserList component lists. 

Once the user has logged in, the HasViewRights, HasExecuteRights, and HasModifyRights methods can be used to determine whether the user is authorized to view, execute actions, and modify data on restricted Web pages. 

To log in a user that is not logged in, call the ProduceLoginPage method to display a login Web page. That page should allow the user to provide some sort of UserID, which can then be used to log the user in by a call to the LogIn method. 

 

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