Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / AbleCommerceMembershipProvider Class / DeleteUser Method
The name of the user to delete.
true to delete data related to the user from the database; false to leave data related to the user in the database.
In This Topic
    DeleteUser Method
    In This Topic
    Removes a user from the membership data source.
    Syntax
    public override bool DeleteUser( 
       string username,
       bool deleteAllRelatedData
    )

    Parameters

    username
    The name of the user to delete.
    deleteAllRelatedData
    true to delete data related to the user from the database; false to leave data related to the user in the database.

    Return Value

    true if the user was successfully deleted; otherwise, false.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also