AuthenticationFactory.RemoveUser Method

Definition

Overloads

Name Description
RemoveUser(IAzureAccount, IAzureEnvironment)

Remove a user from token cache.

RemoveUser(IAzureAccount, IAzureTokenCache)

Remove a user from token cache.

RemoveUser(IAzureAccount, IAzureEnvironment)

Remove a user from token cache.

public void RemoveUser(Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment);
abstract member RemoveUser : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment -> unit
override this.RemoveUser : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment -> unit
Public Sub RemoveUser (account As IAzureAccount, environment As IAzureEnvironment)

Parameters

account
IAzureAccount
environment
IAzureEnvironment

Implements

Applies to

RemoveUser(IAzureAccount, IAzureTokenCache)

Remove a user from token cache.

public void RemoveUser(Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache tokenCache);
abstract member RemoveUser : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache -> unit
override this.RemoveUser : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache -> unit
Public Sub RemoveUser (account As IAzureAccount, tokenCache As IAzureTokenCache)

Parameters

account
IAzureAccount
tokenCache
IAzureTokenCache

This parameter is no longer used. However to keep the API unchanged it's not removed.

Implements

Applies to