Hi guys,
I've created an application with an administration section which allows managers to create accounts for new users and delete accounts of users who are no longer authorised to use the application.
I'm using an SQL Server express database which has been modified using the aspnet_regsql utility to import the membership schema.
The creation of accounts and assigning of roles works perfectly. I'm having a problem with deleting user accounts however.
At the moment, I have a data gridview on the page which uses an object data source to call the System.Web.Security.Membership object. There is an asp:LinkButton on the grid view to allow managers to click to delete users.
Within the object data source, the Delete method uses:
DeleteUser(String username), returns Boolean
to delete the user from the database. ( I understand that by default this method should remove users from all tables in the database). The ...
Go to the complete details ...