RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEndUserSessionAdapter Class

TCustomEndUserSessionAdapter provides information about the current end user such as the user name, user ID, and whether the user is logged in.

Pascal
TCustomEndUserSessionAdapter = class(TBaseEndUserAdapter);
C++
class TCustomEndUserSessionAdapter : public TBaseEndUserAdapter;

WebAdapt

TCustomEndUserSessionAdapter is the base class for end user adapters that use a TSessionsService object to implement the default adapter fields and actions. It handles login and logout actions on behalf of the end user, and uses the TSessionsService component to store information about the current end user. The WebSnap application must contain a TSessionsService component (or equivalent) in order for the TCustomEndUserSessionAdapter to work properly.  

As with any end user adapter, TCustomEndUserSessionAdapter has a LoginPage property that lets you specify the page name of the Web page that handles the login process. As an end user adapter, it also handles validation of end user access. When the end user attempts to access a page, the end-user adapter is called to determine whether the end user has rights to access that page. 

 

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