Hello there,
How do I delete a User plus his profile, there must be a smart way yo do it..
I'm using VB.net, and is new one, so if possible please write in vb :)
Inside visual studio go to the Item WebSite -> Asp.NET configuration. Click this option. This will open a new browser windows and the asp.net configuration application. Go to security and them remove the user that you want.
jeppe_r
Member
35 Points
180 Posts
Delete profile and user
Jan 19, 2008 08:47 PM|LINK
Hello there,
How do I delete a User plus his profile, there must be a smart way yo do it..
I'm using VB.net, and is new one, so if possible please write in vb :)
Hope someone can and will help me
Regards,
Jeppe Richardt
leoalves
Member
417 Points
96 Posts
Re: Delete profile and user
Jan 19, 2008 09:24 PM|LINK
Inside visual studio go to the Item WebSite -> Asp.NET configuration. Click this option. This will open a new browser windows and the asp.net configuration application. Go to security and them remove the user that you want.
jeppe_r
Member
35 Points
180 Posts
Re: Delete profile and user
Jan 19, 2008 09:33 PM|LINK
I know you can do it there, but it have to be some code..
Because i have to put it ind a admin "center" or what it called...
there must be a way like profile.delete or something?
Regards,
Jeppe Richardt
grbourque
Member
486 Points
127 Posts
Re: Delete profile and user
Jan 19, 2008 11:49 PM|LINK
Try this and see if it does what you need
membership.DeleteUser(username)
jeppe_r
Member
35 Points
180 Posts
Re: Delete profile and user
Jan 20, 2008 12:01 AM|LINK
Here we go.
Exactly what i want, thank you!
Regards,
Jeppe Richardt