Bewerken

Delen via


Saml2SecurityTokenHandler.FindUpn(ClaimsIdentity) Method

Definition

Finds the UPN claim value in the specified ClaimsIdentity object for the purpose of mapping the identity to a WindowsIdentity object.

protected:
 virtual System::String ^ FindUpn(System::Security::Claims::ClaimsIdentity ^ claimsIdentity);
protected virtual string FindUpn (System.Security.Claims.ClaimsIdentity claimsIdentity);
abstract member FindUpn : System.Security.Claims.ClaimsIdentity -> string
override this.FindUpn : System.Security.Claims.ClaimsIdentity -> string
Protected Overridable Function FindUpn (claimsIdentity As ClaimsIdentity) As String

Parameters

claimsIdentity
ClaimsIdentity

The claims identity object containing the desired UPN claim.

Returns

A string that contains the UPN claim value found.

Applies to