Compartilhar via


AzureContextModificationCmdlet.GetDefaultProfile Method

Definition

Get the default profile for the current cmdlet invocation

protected virtual Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations GetDefaultProfile ();
override this.GetDefaultProfile : unit -> Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
abstract member GetDefaultProfile : unit -> Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
override this.GetDefaultProfile : unit -> Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
Protected Overridable Function GetDefaultProfile () As IProfileOperations

Returns

The default profile, whether it is a process-specific profile, ot a profile for the current user

Applies to