ClaimsPrincipalExtensions.GetLoginHint(ClaimsPrincipal) 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.
Gets the login-hint associated with a ClaimsPrincipal.
public static string? GetLoginHint (this System.Security.Claims.ClaimsPrincipal claimsPrincipal);
static member GetLoginHint : System.Security.Claims.ClaimsPrincipal -> string
<Extension()>
Public Function GetLoginHint (claimsPrincipal As ClaimsPrincipal) As String
Parameters
- claimsPrincipal
- ClaimsPrincipal
Identity for which to complete the login-hint.
Returns
The login hint for the identity, or null
if it cannot be found.