Click or drag to resize
MembershipContextGetImpersonatingUser Method
Gets impersonating user if the current AuthenticatedUser is impersonated, otherwise null.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
public static UserInfo GetImpersonatingUser()

Return Value

Type: UserInfo
Exceptions
ExceptionCondition
SecurityExceptionData from impersonation cookie are invalid.
See Also