Share via


ManagementAuthorizationProvider.GetConfigurationPaths Method

Definition

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

public:
 abstract cli::array <System::String ^> ^ GetConfigurationPaths(System::Security::Principal::IPrincipal ^ principal, System::String ^ baseConfigurationPath);
public abstract string[] GetConfigurationPaths (System.Security.Principal.IPrincipal principal, string baseConfigurationPath);
abstract member GetConfigurationPaths : System.Security.Principal.IPrincipal * string -> string[]
Public MustOverride Function GetConfigurationPaths (principal As IPrincipal, baseConfigurationPath As String) As String()

Parameters

principal
IPrincipal

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

baseConfigurationPath
String

The base of the configuration path under which to search.

Returns

String[]

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

Exceptions

principal is null or empty.

Remarks

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

Applies to