DisplayClaim.CreateDisplayClaimFromClaimType(String) Method

Definition

Creates a display claim from the specified claim type.

C#
public static System.IdentityModel.Metadata.DisplayClaim CreateDisplayClaimFromClaimType(string claimType);

Parameters

claimType
String

The URI that represents the claim type.

Returns

Returns DisplayClaim.

Remarks

The DisplayTag and Description properties are set to default values based on the specified claim type. If default values do not exist for the properties, they are set to null.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1