ClaimsIdentity::Name Property

.NET Framework (current version)
 

Gets the name of this claims identity.

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

public:
property String^ Name {
	virtual String^ get();
}

Property Value

Type: System::String^

The name or null.

Implements

IIdentity::Name

Returns the value of the first claim with a type that matches the name claim type set in the NameClaimType property. If no claim is found that matches the name claim type, returns null.

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