AuthenticationHelper ImpersonateUser Method Kentico 8.0 API Reference
Impersonates current user.

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

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