Share via


ManagementAuthorizationProvider.Revoke Method

Definition

Revokes authorization for the specified user.

Overloads

Revoke(String)

When overridden in a derived class, removes a specified user name from all authorization scopes.

Revoke(String, String)

When overridden in a derived class, revokes authorization of a specified user name to a specified configuration path.

Revoke(String)

When overridden in a derived class, removes a specified user name from all authorization scopes.

public:
 abstract void Revoke(System::String ^ name);
public abstract void Revoke (string name);
abstract member Revoke : string -> unit
Public MustOverride Sub Revoke (name As String)

Parameters

name
String

The user name for which authorization will be revoked.

Exceptions

name is null or empty.

Remarks

If the user name is the last entry in the scope, the scope will be deleted.

Applies to

Revoke(String, String)

When overridden in a derived class, revokes authorization of a specified user name to a specified configuration path.

public:
 abstract void Revoke(System::String ^ name, System::String ^ configurationPath);
public abstract void Revoke (string name, string configurationPath);
abstract member Revoke : string * string -> unit
Public MustOverride Sub Revoke (name As String, configurationPath As String)

Parameters

name
String

The user name for which authorization will be revoked.

configurationPath
String

The configuration path for which authorization will be revoked.

Exceptions

name or configurationPath is null or empty.

Remarks

If the user name is the last entry in the scope, the scope will be deleted.

Applies to