Try our conversational search powered by Generative AI!

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: 11.20.7
Syntax
public static class PrincipalAccessorExtensions

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