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

Gets the logged in user from the context.

Namespace: Simple.Web.AuthenticationSimple.Web.AuthenticationSimple::Web::Authentication
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

IUser GetLoggedInUser(

IContext context

)

VB

Function GetLoggedInUser( _

context As IContext _

) As IUser

C++

IUser^ GetLoggedInUser(

IContext^ context

)

Parameters

Return Value

Type: Simple.Web.Authentication.IUserSimple.Web.Authentication.IUserSimple::Web::Authentication::IUser
A user, or null if no user is authenticated.

See Also

IAuthenticationProviderIAuthenticationProviderIAuthenticationProvider Interface
Simple.Web.AuthenticationSimple.Web.AuthenticationSimple::Web::Authentication Namespace