Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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.