Click or drag to resize
AuthenticationHelperGetCurrentUser Method
Gets the current user.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
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: CurrentUserInfo
See Also