Export (0) Print
Expand All

EnableUser Method

IIS 7.0

Enables an IIS Manager user.

Namespace:  Microsoft.Web.Management.Server
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public static void EnableUser(
	string userName
)

Parameters

userName
Type: System..::..String
The user name to enable.

ExceptionCondition
ArgumentNullException

userName is nullNothingnullptrunita null reference (Nothing in Visual Basic) or empty.

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.

Community Additions

ADD
Show:
© 2014 Microsoft