Class PrincipalAccessorExtensions
Inheritance
System.Object
PrincipalAccessorExtensions
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public static class PrincipalAccessorExtensions : Object
Methods
CurrentName(IPrincipalAccessor)
Returns the name of the current System.Security.Principal.IPrincipal
Declaration
public static string CurrentName(this IPrincipalAccessor principalAccessor)
Parameters
Type | Name | Description |
---|---|---|
IPrincipalAccessor | principalAccessor |
Returns
Type | Description |
---|---|
System.String |