[This is preliminary documentation and is subject to change.]

Used by the framework to set the current user.

Namespace: Simple.Web.BehaviorsSimple.Web.BehaviorsSimple::Web::Behaviors
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

IUser CurrentUser { set; }

VB

WriteOnly Property CurrentUser As IUser

Set

C++

property IUser^ CurrentUser {

void set(IUser^ value);

}

Property Value

Type: Simple.Web.Authentication.IUserSimple.Web.Authentication.IUserSimple::Web::Authentication::IUser
The current user.

See Also

IRequireAuthenticationIRequireAuthenticationIRequireAuthentication Interface
Simple.Web.BehaviorsSimple.Web.BehaviorsSimple::Web::Behaviors Namespace