ManagementAuthorization.Provider Property

Definition

Gets the authorization provider for IIS Manager.

public:
 static property Microsoft::Web::Management::Server::ManagementAuthorizationProvider ^ Provider { Microsoft::Web::Management::Server::ManagementAuthorizationProvider ^ get(); };
public static Microsoft.Web.Management.Server.ManagementAuthorizationProvider Provider { get; }
member this.Provider : Microsoft.Web.Management.Server.ManagementAuthorizationProvider
Public Shared ReadOnly Property Provider As ManagementAuthorizationProvider

Property Value

A ManagementAuthorizationProvider object.

Examples

The following example demonstrates the Provider property. This code example is part of a larger example provided for the ManagementAuthorization class.

message = "Provider: " + ManagementAuthorization.Provider;

Remarks

The ManagementAuthorizationProvider object is specified in the authentication configuration section of the Administration.config file. The authentication configuration section contains the paths to each Web site and the name of each authorized user for that Web site. You can use the methods and properties of this class to programmatically change the settings in the Administration.config file. The authentication configuration section of the Administration.config file is updated as Web site and user permissions are granted or revoked.

Applies to