Export (0) Print
Expand All

Claim::Type Property

.NET Framework 4.5

Gets the claim type of the claim.

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

public:
property String^ Type {
	String^ get ();
}

Property Value

Type: System::String
The claim type.

The Type property provides the semantic content of the claim, that is, it states what the claim is about. For example, a claim with a claim type of GivenName (“http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname”) represents a user’s first name. The claim type is typically a URI; however, you are not limited to any specific format other than that it must be representable as a string. The only general requirement is that the claim issuer and the claim consumer must agree about the meaning of the claim. Constants for the well-known claim types used by Windows Identity Foundation (WIF) are available through the ClaimTypes class. The claim value is provided by the Value property.

.NET Framework

Supported in: 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft