Saml2SecurityTokenHandler.FindUpn(ClaimsIdentity) 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.
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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.