Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FormsIdentity.HasClaim Method

.NET Framework 4.6 and 4.5

Determines whether the claims identity possesses a claim that matches specified conditions.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method HasClaim(Predicate<Claim>) Determines whether this claims identity has a claim that is matched by the specified predicate. (Inherited from ClaimsIdentity.)
Public method HasClaim(String, String) Determines whether this claims identity has a claim with the specified claim type and value. (Inherited from ClaimsIdentity.)
Top
Show:
© 2015 Microsoft