ManagementAuthentication.EnableUser(String) Method

Definition

Enables an IIS Manager user.

public:
 static void EnableUser(System::String ^ userName);
public static void EnableUser (string userName);
static member EnableUser : string -> unit
Public Shared Sub EnableUser (userName As String)

Parameters

userName
String

The user name to enable.

Exceptions

userName is null or empty.

Remarks

This method passes the specified parameter to the EnableUser method of the Microsoft.Web.Management.Server.ManagementAuthenticationProvider object that is specified in the Provider property.

Applies to