ManagementAuthorizationProvider.GetConfigurationPaths Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.