System.Web.Profile.ProfileProvider.DeleteProfiles Method

When overridden in a derived class, deletes profile properties and information for profiles that match the supplied list of user names.

Syntax

public abstract int DeleteProfiles (string[] usernames)

Parameters

usernames
A string array of user names for profiles to be deleted.

Returns

The number of profiles deleted from the data source.

Remarks

The ProfileProvider.DeleteProfiles(String[]) method deletes the profiles specified in the usernames parameter. Only data for the applicationName specified in the configuration file is removed.

Requirements

Namespace: System.Web.Profile
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0