Export (0) Print
Expand All

ClaimsIdentity.NameClaimType Property

.NET Framework 4.6 and 4.5

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.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft