You need to sign in to do that
Don't have an account?
J_Hinder
Trying to update SelfServiceUser Password with Partner WSDL
I'm kind of at a loss with this one. I understand the concepts for updating regular fields in salesforce with the partner wsdl (accounts, contacts & the like), but I'm not sure how I'm going to go about updating the password for a selfservice user?
I've described the object, and there's no password field. Ditto for looking at it in Sforce Explorer. Ditto for the contact object. I tried this, but it didn't work:
Dim updatePwd As Sforce_Pwd.sObject = New Sforce_Pwd.sObject
updatePwd.Id = strSSID
updatePwd.Any = New System.Xml.XmlElement() {GetNewXmlElement("Password", strNewPassword)}
updatePwd.type = "SelfServiceUser"
strSSID is the id of the SelfServiceUser
strNewPassword is the password I'm trying to send in there.
Can this be done with the Partner WSDL?
I've described the object, and there's no password field. Ditto for looking at it in Sforce Explorer. Ditto for the contact object. I tried this, but it didn't work:
Dim updatePwd As Sforce_Pwd.sObject = New Sforce_Pwd.sObject
updatePwd.Id = strSSID
updatePwd.Any = New System.Xml.XmlElement() {GetNewXmlElement("Password", strNewPassword)}
updatePwd.type = "SelfServiceUser"
strSSID is the id of the SelfServiceUser
strNewPassword is the password I'm trying to send in there.
Can this be done with the Partner WSDL?
Dim setPasswordResult As Sforce_Pwd.SetPasswordResult = binding.setPassword(strSSID, strNewPassword)