ManagementAuthorization.RevokeConfigurationPath Method (String)

IIS 7.0
 

Removes all authorized users from the specified configuration path.

Namespace:   Microsoft.Web.Management.Server
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public static void RevokeConfigurationPath(
	string configurationPath
)

Parameters

configurationPath
Type: System.String

The configuration path.

Exception Condition
System.ArgumentNullException

configurationPath is null or empty.

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.

Return to top
Show: