Saml2SecurityTokenHandler.FindUpn(ClaimsIdentity) Méthode

Définition

Recherche la valeur de revendication UPN dans l’objet spécifié ClaimsIdentity pour le mappage de l’identité à un WindowsIdentity objet.

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

Paramètres

claimsIdentity
ClaimsIdentity

Objet d’identité de revendications contenant la revendication UPN souhaitée.

Retours

Chaîne qui contient la valeur de revendication UPN trouvée.

S’applique à