GnomonMembershipProviderDeleteUser Method |
Removes a user from the membership data source.
Namespace: RMP.WebAssembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public override bool DeleteUser(
string username,
bool deleteAllRelatedData
)
Public Overrides Function DeleteUser (
username As String,
deleteAllRelatedData As Boolean
) As Boolean
public:
virtual bool DeleteUser(
String^ username,
bool deleteAllRelatedData
) override
abstract DeleteUser :
username : string *
deleteAllRelatedData : bool -> bool
override DeleteUser :
username : string *
deleteAllRelatedData : bool -> bool
Parameters
- username
- Type: SystemString
The name of the user to delete. - deleteAllRelatedData
- Type: SystemBoolean
true to delete data related to the user from the database; false to leave data related to the user in the database.
Return Value
Type:
Booleantrue if the user was successfully deleted; otherwise, false.
Exceptions See Also