AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageRouteHandlerBase..::.._InternalCurrentUser Method

Gets the current CMS user from the claims identity, caching the result for subsequent calls.

Namespace:  AdvantageCMS.Core.Routing
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


protected CMSUser _InternalCurrentUser(
	HttpContextBase context
)

Parameters

context
Type: HttpContextBase
The HTTP context to retrieve the claims identity from.

Return Value

The CMSUser if authenticated; otherwise, null.