Try our conversational search powered by Generative AI!

Delete User via WebService

Vote:
 
I have created a Webservice with three methods (the methods are handling "SQL Server Users"). CreateUser() { ... MembershipUser newUser = Membership.CreateUser(userName, pwd , emailAddress); ... } UpdateUserRoles() { ... Roles.AddUserToRoles(userName, newRoles); ... } DeleteUser() { ... Membership.DeleteUser(userName, true); ... } The CreateUser and UpdateUserRoles method works fine. When DeleteUser method is called I got an error. "The request failed with HTTP status 401: Unauthorized." Is there different security level between Membership.CreateUser and Membership.DeleteUser.
#16020
Mar 06, 2008 9:57
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.