ManagementAuthorizationProvider Class

Definition

When overridden in a derived class, provides a base class that enables custom authorization.

public ref class ManagementAuthorizationProvider abstract
public abstract class ManagementAuthorizationProvider
type ManagementAuthorizationProvider = class
Public MustInherit Class ManagementAuthorizationProvider
Inheritance
ManagementAuthorizationProvider

Notes to Implementers

When you inherit from ManagementAuthorizationProvider, you must override the following members: IsAuthorized(IPrincipal, String), GetAuthorizedUsers(String, Boolean, Int32, Int32), GetConfigurationPaths(IPrincipal, String), Grant(String, String, Boolean), Revoke(String), Revoke(String, String), RevokeConfigurationPath(String), and RenameConfigurationPath(String, String).

Constructors

ManagementAuthorizationProvider()

Initializes a new instance of the ManagementAuthorizationProvider class.

Methods

GetAuthorizedUsers(String, Boolean, Int32, Int32)

When overridden in a derived class, retrieves a collection of authorized users for the specified configuration path.

GetConfigurationPaths(IPrincipal, String)

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

Grant(String, String, Boolean)

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

Initialize(IDictionary<String,String>)

When overridden in a derived class, initializes a dictionary of key/value pairs.

IsAuthorized(IPrincipal, String)

When overridden in a derived class, gets a value indicating whether the specified principal is authorized for the specified configuration path.

RenameConfigurationPath(String, String)

When overridden in a derived class, renames a configuration path.

Revoke(String)

When overridden in a derived class, removes a specified user name from all authorization scopes.

Revoke(String, String)

When overridden in a derived class, revokes authorization of a specified user name to a specified configuration path.

RevokeConfigurationPath(String)

When overridden in a derived class, removes authorization scopes for the specified configuration path.

Applies to