Class PrincipalAccessorExtensions
Inheritance
System.Object
    PrincipalAccessorExtensions
  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
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public static class PrincipalAccessorExtensionsMethods
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 | 
