AuthenticationHelperGetCurrentUser Method |
Gets the current user.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax public static CurrentUserInfo GetCurrentUser(
out bool loadUserData,
bool cacheResult = true
)
Parameters
- loadUserData
- Type: SystemBoolean
True if the additional user data should be loaded (user was initialized or has changed) - cacheResult (Optional)
- Type: SystemBoolean
If true, the result for the user is cached
Return Value
Type:
CurrentUserInfoSee Also