ManagementAuthentication.DeleteUser Method (String)

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.

Exception Condition
ArgumentNullException

userName is null or empty.

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

Return to top
Show: