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

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

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