Share via


ManagementAuthorization.RevokeConfigurationPath(String) Method

Definition

Removes all authorized users from the specified configuration path.

public:
 static void RevokeConfigurationPath(System::String ^ configurationPath);
public static void RevokeConfigurationPath (string configurationPath);
static member RevokeConfigurationPath : string -> unit
Public Shared Sub RevokeConfigurationPath (configurationPath As String)

Parameters

configurationPath
String

The configuration path.

Exceptions

configurationPath is null or empty.

Remarks

This method removes all authorized users from the specified configuration path. After the users' permissions have been revoked, the users are no longer in the list of users on the IIS Manager Permissions page for the specific site in IIS Manager. Removing users from the authorized-user list modifies the Administration.config file. After all users have been removed from the configuration path, the scope for the empty path will be deleted from the Administration.config file.

Applies to