Show / Hide Table of Contents

Class ClaimsPrincipalExtensions

Claims principal extensions.

Inheritance
object
ClaimsPrincipalExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.GNS.Roster.Extensions
Assembly: Microsoft.GNS.Roster.Service.dll
Syntax
public static class ClaimsPrincipalExtensions

Methods

View Source

GetRosterDisplayName(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.

  • View Source
In this article
Back to top Generated by DocFX