CaseSensitiveClaimsIdentity.FindFirst(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public override System.Security.Claims.Claim FindFirst (string type);
override this.FindFirst : string -> System.Security.Claims.Claim
Public Overrides Function FindFirst (type As String) As Claim
Parameters
- type
- String
The type of the claim to match.
Returns
A Claim, null
if nothing matches.
Exceptions
if type
is null.
Remarks
Comparison is Ordinal.