Subject: | setPassword and resetPassword require userId, but there's no interface. |
To call setPassword, you must supply a hash containing userId and the
new password. This userId is saved as part of login, but there doesn't
appear to be an accessor function.
That's no big deal, you can read the code and grab $sforce->{sf_uid},
but it would be a lot cleaner if there were a get_userId or something
similar.