AuthenticationHelper ImpersonateUser Method Kentico 8.1 API Reference
Impersonates current user.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

ui
Type: CMS.Membership UserInfo
User to which impersonate the current user
redirectionUrl (Optional)
Type: OnlineSystem String
Custom redirection relative URL
forceRedirect (Optional)
Type: OnlineSystem Boolean
Indicates if redirect should be forced even if no redirect URL is specified
See Also