Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ClaimsIdentity.NameClaimType Property

Definition

Namespace:
System.Security.Claims
Assemblies:
mscorlib.dll, System.Security.Claims.dll
Assemblies:
netstandard.dll, System.Security.Claims.dll
Assembly:
System.Security.Claims.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll
Source:
ClaimsIdentity.cs
Source:
ClaimsIdentity.cs
Source:
ClaimsIdentity.cs
Source:
ClaimsIdentity.cs
Source:
ClaimsIdentity.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 property System::String ^ NameClaimType { System::String ^ get(); };
public string NameClaimType { get; }
member this.NameClaimType : string
Public ReadOnly Property NameClaimType As String

Property Value

The name claim type.

Remarks

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.

Applies to

See also


Feedback

Was this page helpful?