Class DefaultUserImpersonation
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
DefaultUserImpersonation
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Security.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
[ServiceConfiguration(typeof(IUserImpersonation))]
public class DefaultUserImpersonation : 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 |