ClaimsIdentity.NameClaimType Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the claim type that is used to determine which claims provide the value for the Name property of this claims identity.

Namespace:   System.Security.Claims
Assembly:  mscorlib (in mscorlib.dll)

public string NameClaimType { get; }

Property Value

Type: System.String

The name claim type.

The NameClaimType property specifies the claim type (Claim.Type) that is used to provide the name for this identity. The name is accessed through the Name property.

This property is set by the constructor.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Return to top