| AuthenticationHelperImpersonateUser Method | 
            Impersonates current user.
            
 
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
 Syntax
Syntaxpublic static void ImpersonateUser(
	UserInfo impersonatedUser,
	string redirectionUrl = null,
	bool forceRedirect = true
)
Parameters
- impersonatedUser
- Type: CMS.MembershipUserInfo
 User to which impersonate the current user
- redirectionUrl (Optional)
- Type: SystemString
 Custom redirection relative URL
- forceRedirect (Optional)
- Type: SystemBoolean
 Indicates if redirect should be forced even if no redirect URL is specified
 See Also
See Also