I keep recieving this error when trying to set a password for a user through the web service;
"Server was unable to process request. ---> You must authenticate with the web service before you can set a user's password."
Below is the code I am trying to execute in visual studios;
Dim _iMISAuth As imis15.MembershipWebService = New imis15.MembershipWebService
Dim _strNewPassword As String = _iMISAuth.GeneratePassword
Dim _bolSetPassword As Boolean = False
If _iMISAuth.LoginUser("manager", "manager", True) = imis15.LogonResultCodes.Succeeded Then
_bolSetPassword = _iMISAuth.SetUserPassword(username, _strNewPassword)
I don't have the membershp provider in the web.conf but I am calling the webservice and trying to authenticate that way according to http://www.imiscommunity.com/use_the_membership_web_service. I have tried different ways to authenticate before attemppting change the password. I do realize that there is a resetPassword but I can not use it for various reasons. This seems simple but I am just stuck . Any help would greatly be appreciated.