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: 10.0.0
Syntax
C#
public static UserInfo GetImpersonatingUser()

Return Value

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