November Happy Hour will be moved to Thursday December 5th.

Class PrincipalAccessorExtensions

Inheritance
System.Object
PrincipalAccessorExtensions
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
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