Class ClaimsPrincipalExtensions
Claims principal extensions.
Inherited Members
Namespace: Microsoft.GNS.Roster.Extensions
Assembly: Microsoft.GNS.Roster.Service.dll
Syntax
public static class ClaimsPrincipalExtensions
Methods
View SourceGetRosterDisplayName(ClaimsPrincipal)
Get the display name.
Declaration
public static string GetRosterDisplayName(this ClaimsPrincipal principal)
Parameters
Type | Name | Description |
---|---|---|
ClaimsPrincipal | principal | The ClaimsPrincipal object to extend. |
Returns
Type | Description |
---|---|
string | The display name or throws an UnexpectedStateException if it is null. |