AcquireTokenInteractiveParameterBuilder.WithLoginHint(String) 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.
Sets the loginHint
, in order to avoid select account
dialogs in the case the user is signed-in with several identities. This method is mutually exclusive
with WithAccount(IAccount). If both are used, an exception will be thrown
public Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder WithLoginHint (string loginHint);
member this.WithLoginHint : string -> Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder
Public Function WithLoginHint (loginHint As String) As AcquireTokenInteractiveParameterBuilder
Parameters
- loginHint
- String
Identifier of the user. Generally in UserPrincipalName (UPN) format, e.g. john.doe@contoso.com
Returns
The builder to chain the .With methods
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för