SamlSecurityTokenHandler.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.