on 07-18-2007 8:28 AM
Hai all,
I have created one application to change current user password..
//Code..
useraccount=UMFactory.getUserAccountFactory().getMutableUserAccount(currentuser.getUniqueID());
useraccount.setPassword(password);
useraccount.setPasswordChangeRequired(false);
useraccount.save();
useraccount.commit();
//this code is working fine.... but on next logon it is asking for changing password (error: password expired)
i also tried with
useraccount.setPassword(oldpassword,password);
but it is throwing some error like CHANGE_PASSWORD_NOT_ALLOWED
These user account are created through R3 system
Please help me.....
With Regards
Eldose
go through dis thread
/thread/14822 [original link is broken]
i only knew it through RFC model.....see if u can get some help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/thread/13700 [original link is broken]
/thread/13270 [original link is broken]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you use R3 server as UME then you can make a RFC that change the user password as you want and then call that RFC (model) in developer studio...you can make an iview and integrate it in portal.
SUSR_USER_PASSWORD_CHANGE_RFC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Kanwalpreet,
Your message is very useful... but I need to create webdynpro application using UME API's similar to one in myprofile link.
I can reset password using above code.... but it is asking for change password on next login....
Is there any option to avoid that .....
or
It is only possiible through RFC model...
With Regards
Eldose
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.