November Happy Hour will be moved to Thursday December 5th.

Class DefaultUserImpersonation

Inheritance
System.Object
DefaultUserImpersonation
Implements
Namespace: EPiServer.Security.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class DefaultUserImpersonation : Object, IUserImpersonation

Constructors

DefaultUserImpersonation(SecurityEntityProvider, IPrincipalAccessor)

Declaration
public DefaultUserImpersonation(SecurityEntityProvider entityProvider, IPrincipalAccessor principalAccessor)
Parameters
Type Name Description
SecurityEntityProvider entityProvider
IPrincipalAccessor principalAccessor

Methods

CreatePrincipal(String)

Declaration
public IPrincipal CreatePrincipal(string username)
Parameters
Type Name Description
System.String username
Returns
Type Description
System.Security.Principal.IPrincipal

CreatePrincipalAsync(String)

Declaration
public Task<IPrincipal> CreatePrincipalAsync(string username)
Parameters
Type Name Description
System.String username
Returns
Type Description
System.Threading.Tasks.Task<System.Security.Principal.IPrincipal>

Implements

Extension Methods