Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ClaimsPrincipal::HasClaim Method

.NET Framework (current version)
 

Determines whether any of the claims identities associated with this claims principal contains a claim that matches specified conditions.

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

NameDescription
System_CAPS_pubmethodHasClaim(Predicate<Claim^>^)

Determines whether any of the claims identities associated with this claims principal contains a claim that is matched by the specified predicate.

System_CAPS_pubmethodHasClaim(String^, String^)

Determines whether any of the claims identities associated with this claims principal contains a claim with the specified claim type and value.

Return to top
Show:
© 2017 Microsoft