on 01-19-2011 5:17 AM
Hello,
Could you please help by providing inputs
LDAP has been made into read write mode
Now in webdynpro application I need to reset password of given LDAP user
Kindly help
thank you in advance
B
Hi,
chcek the below link.
Resetting the password is from Logon page so w eneed use logon page par file as described in the below links.
[http://wiki.sdn.sap.com/wiki/display/EP/ModifyingtheLogon+Page]
[http://wiki.sdn.sap.com/wiki/display/EP/LookandFeel]
Regards,
Govindu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Using the UME API you can change the password.
Try this code.
IUserAccount account = accountFactory.getUserAccountByLogonId("User ID");
IUserAccount mutableAccount =accountFactory.getMutableUserAccount(account.getUniqueID());
mutableAccount.setPassword(wdContext.currentUserDetailsElement().getPassword());
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Shyam
I had been struggling wid this code for too much time because account.getUniqueID() was giving hell lot of trouble
finalli i got it like this
IUserFactory userFactory = UMFactory.getUserFactory();
IUser user = userFactory.getUserByLogonID(userid);
IUserAccount[] acct = user.getUserAccounts();
String userId = acct[0].getLogonUid();
IUserAccountFactory accountFactory = UMFactory.getUserAccountFactory();
IUserAccount account = accountFactory.getUserAccountByLogonId(userId);
IUserAccount mutableAccount = accountFactory.getMutableUserAccount(account.getUniqueID());
mutableAccount.setPassword(password);
mutableAccount.save();
mutableAccount.commit();
message = "Success";
thanks
B
Hi,
IN EP 7.01 the standard password reset application is WD based. If you configure the UME to LDAP the same application can be used to reset the password.
For new WD application you can use UME API.
Please search for the materials on SDN for above requirements
Regards
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Follow this.
http://chplanet.ca/documents/SAP/WebDynpro%20Java%20UME%20to%20LDAP%20Migration.pdf
/message/7388333#7388333 [original link is broken]
BR
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
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.