AuthenticationHelperImpersonateUser Method |
Impersonates current user.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax public static void ImpersonateUser(
UserInfo ui,
string redirectionUrl = null,
bool forceRedirect = true
)
Parameters
- ui
- 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