This topic has not yet been rated - Rate this topic

ClaimsIdentity.HasClaim Method

.NET Framework 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.

  NameDescription
Public method HasClaim(Predicate<Claim>) Determines whether this claims identity has a claim that is matched by the specified predicate.
Public method HasClaim(String, String) Determines whether this claims identity has a claim with the specified claim type and value.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.