MembershipUserCollection.Remove Method (String)

 

Removes the membership user object with the specified user name from the collection.

Namespace:   System.Web.Security
Assembly:  System.Web.ApplicationServices (in System.Web.ApplicationServices.dll)

public void Remove(
	string name
)

Parameters

name
Type: System.String

The user name of the MembershipUser object to remove from the collection.

Exception Condition
NotSupportedException

The collection is read-only.

.NET Framework
Available since 2.0
Return to top
Show: