Export (0) Print
Expand All

DeleteUser Method

IIS 7.0

Deletes an IIS Manager user.

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

public static void DeleteUser(
	string userName
)

Parameters

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

ExceptionCondition
ArgumentNullException

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

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

Community Additions

ADD
Show:
© 2014 Microsoft