Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unsubscribe / Delete User Accounts

Status
Not open for further replies.

baden100

Programmer
Apr 26, 2006
10
US
Hi,

When using ASP.Net 2.0's custom data provider's user data store (I'll be setting this up in the same database as the application), how does one go about writing the "Unsubscribe" or "Delete User" operations, that is, without using aspnet_regsql.exe?

I'd like users to be able to remove their own accounts, but I'm not sure about removing them from the table structure.

Also, in the past, I've simply tied the auto-generated PK per user to their related information in other tables in the db. When using .Net's Membersip API, should I just reference their user name?

Thanks.
 
You can refernence the user name if you make them unique, otherwise the membership tables use a uniqueidentifer datatype that you would have to refernce.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top