RMProfileClient.Login Method

Definition

Overloads

Login(IAzureAccount, IAzureEnvironment, String, String, String, SecureString, Boolean, Action<String>, String, Boolean)
Login(IAzureAccount, IAzureEnvironment, String, String, String, SecureString, Boolean, IOpenIDConfiguration, Action<String>, String, Boolean, Int32, String)
Login(IAzureAccount, IAzureEnvironment, String, String, String, SecureString, Boolean, IOpenIDConfiguration, Action<String>, String, Boolean, Int32, String, Boolean)

Login(IAzureAccount, IAzureEnvironment, String, String, String, SecureString, Boolean, Action<String>, String, Boolean)

public Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile Login (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, string tenantId, string subscriptionId, string subscriptionName, System.Security.SecureString password, bool skipValidation, Action<string> promptAction, string name = default, bool shouldPopulateContextList = true);
member this.Login : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * string * string * string * System.Security.SecureString * bool * Action<string> * string * bool -> Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
Public Function Login (account As IAzureAccount, environment As IAzureEnvironment, tenantId As String, subscriptionId As String, subscriptionName As String, password As SecureString, skipValidation As Boolean, promptAction As Action(Of String), Optional name As String = Nothing, Optional shouldPopulateContextList As Boolean = true) As AzureRmProfile

Parameters

account
IAzureAccount
environment
IAzureEnvironment
tenantId
String
subscriptionId
String
subscriptionName
String
password
SecureString
skipValidation
Boolean
promptAction
Action<String>
name
String
shouldPopulateContextList
Boolean

Returns

Applies to

Login(IAzureAccount, IAzureEnvironment, String, String, String, SecureString, Boolean, IOpenIDConfiguration, Action<String>, String, Boolean, Int32, String)

public Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile Login (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, string tenantIdOrName, string subscriptionId, string subscriptionName, System.Security.SecureString password, bool skipValidation, Microsoft.Azure.Commands.Profile.Utilities.IOpenIDConfiguration openIDConfigDoc, Action<string> promptAction, string name = default, bool shouldPopulateContextList = true, int maxContextPopulation = 25, string authScope = default);
member this.Login : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * string * string * string * System.Security.SecureString * bool * Microsoft.Azure.Commands.Profile.Utilities.IOpenIDConfiguration * Action<string> * string * bool * int * string -> Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
Public Function Login (account As IAzureAccount, environment As IAzureEnvironment, tenantIdOrName As String, subscriptionId As String, subscriptionName As String, password As SecureString, skipValidation As Boolean, openIDConfigDoc As IOpenIDConfiguration, promptAction As Action(Of String), Optional name As String = Nothing, Optional shouldPopulateContextList As Boolean = true, Optional maxContextPopulation As Integer = 25, Optional authScope As String = Nothing) As AzureRmProfile

Parameters

account
IAzureAccount
environment
IAzureEnvironment
tenantIdOrName
String
subscriptionId
String
subscriptionName
String
password
SecureString
skipValidation
Boolean
openIDConfigDoc
IOpenIDConfiguration
promptAction
Action<String>
name
String
shouldPopulateContextList
Boolean
maxContextPopulation
Int32
authScope
String

Returns

Applies to

Login(IAzureAccount, IAzureEnvironment, String, String, String, SecureString, Boolean, IOpenIDConfiguration, Action<String>, String, Boolean, Int32, String, Boolean)

public Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile Login (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, string tenantIdOrName, string subscriptionId, string subscriptionName, System.Security.SecureString password, bool skipValidation, Microsoft.Azure.Commands.Profile.Utilities.IOpenIDConfiguration openIDConfigDoc, Action<string> promptAction, string name = default, bool shouldPopulateContextList = true, int maxContextPopulation = 25, string authScope = default, bool IsInteractiveContextSelectionEnabled = true);
member this.Login : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * string * string * string * System.Security.SecureString * bool * Microsoft.Azure.Commands.Profile.Utilities.IOpenIDConfiguration * Action<string> * string * bool * int * string * bool -> Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
Public Function Login (account As IAzureAccount, environment As IAzureEnvironment, tenantIdOrName As String, subscriptionId As String, subscriptionName As String, password As SecureString, skipValidation As Boolean, openIDConfigDoc As IOpenIDConfiguration, promptAction As Action(Of String), Optional name As String = Nothing, Optional shouldPopulateContextList As Boolean = true, Optional maxContextPopulation As Integer = 25, Optional authScope As String = Nothing, Optional IsInteractiveContextSelectionEnabled As Boolean = true) As AzureRmProfile

Parameters

account
IAzureAccount
environment
IAzureEnvironment
tenantIdOrName
String
subscriptionId
String
subscriptionName
String
password
SecureString
skipValidation
Boolean
openIDConfigDoc
IOpenIDConfiguration
promptAction
Action<String>
name
String
shouldPopulateContextList
Boolean
maxContextPopulation
Int32
authScope
String
IsInteractiveContextSelectionEnabled
Boolean

Returns

Applies to