PDA

View Full Version : Change password class::method?


AustinKalb
28 Aug 2009, 16:20
Can anyone tell me the the Data Manager class::method I can use to change a users password? If there is none, what is the programmatic procedure?

Thanks in advance!
Austin

Adrian Schneider
28 Aug 2009, 16:46
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

... where 777 is the userid of the account you want to modify, and 'alphabet soup' is the new password.

AustinKalb
28 Aug 2009, 19:29
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

... where 777 is the userid of the account you want to modify, and 'alphabet soup' is the new password.

This works great! Thanks.

How would I check for errors? the query_write seems to return a 1 with a valid or an invalid userid.


Thanks again!
Austin

Marco van Herwaarden
30 Aug 2009, 14:13
Better use the datamanagers instead of a manual query.