Saml2SecurityTokenHandler.FindUpn(ClaimsIdentity) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Recherche la valeur de revendication UPN dans l'objet ClaimsIdentity spécifié pour les besoins de mappage de l'identité à un objet WindowsIdentity .
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é basée sur les revendications contenant la revendication UPN souhaitée.
Retours
Chaîne qui contient la valeur de revendication d'UPN trouvée.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour