RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEndUserAdapter Class

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

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

WebAdapt

TCustomEndUserAdapter is the base class for end user adapters that use event handlers to implement the default adapter fields and actions. It introduces events to provide values for the default end user fields (DisplayName and LoggedIn) and to implement the default end user actions (logging in and logging out). 

As with any end user adapter, TCustomEndUserAdapter 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. 

Do not create instances of TCustomEndUserAdapter. Instead, use a descendant such as the TEndUserAdapter component, which publishes the events whose handlers you must supply to make this adapter work. 

 

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