Share via


ManagementAuthentication.DeleteUser(String) Method

Definition

Deletes an IIS Manager user.

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

Parameters

userName
String

The user name to delete.

Exceptions

userName is null or empty.

Remarks

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.

Applies to