Export (0) Print
Expand All

DisableUser Method

IIS 7.0

Disables an IIS Manager user. 

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

public static void DisableUser(
	string userName
)

Parameters

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

ExceptionCondition
ArgumentNullException

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

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

Community Additions

ADD
Show:
© 2015 Microsoft