AuthenticationHelper GetCurrentUser Method Kentico 8.1 API Reference
Gets the current user.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

loadUserData
Type: OnlineSystem Boolean 
True if the additional user data should be loaded (user was initialized or has changed)
cacheResult (Optional)
Type: OnlineSystem Boolean
If true, the result for the user is cached

Return Value

Type: CurrentUserInfo
See Also