ManagementAuthorizationProvider.Grant Method (String, String, Boolean)

IIS 7.0
 

When overridden in a derived class, grants authorization to a user name or role for the specified configuration path.

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

public abstract ManagementAuthorizationInfo Grant(
	string name,
	string configurationPath,
	bool isRole
)

Parameters

name
Type: System.String

The user name to which authorization will be granted.

configurationPath
Type: System.String

The configuration path for which authorization will be granted.

isRole
Type: System.Boolean

true to indicate that the value specified in the name parameter is a security role; otherwise, false.

Exception Condition
System.ArgumentNullException

name is null or empty.

Return to top
Show: