Class DefaultUserImpersonation
Inheritance
System.Object
DefaultUserImpersonation
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
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