London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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