ManagementAuthorizationProvider.GetConfigurationPaths Method (IPrincipal, String)

IIS 7.0
 

When overridden in a derived class, returns an array of paths that the specified principal is authorized to configure.

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

public abstract string[] GetConfigurationPaths(
	IPrincipal principal,
	string baseConfigurationPath
)

Parameters

principal
Type: System.Security.Principal.IPrincipal

A System.Security.Principal.IPrincipal interface that represents the security context of the user for whom the paths are retrieved.

baseConfigurationPath
Type: System.String

The base of the configuration path under which to search.

Return Value

Type: System.String[]

An array of paths that the specified principal is authorized to configure.

Exception Condition
System.ArgumentNullException

principal is null or empty.

This method returns all configuration paths, starting with baseConfigurationPath, that the user is authorized to configure.

Return to top
Show: