cancel
Showing results for 
Search instead for 
Did you mean: 

Validate current login user password with Web Dynpro App

Former Member
0 Kudos

Hi all,

I am trying to create a WD to display some personal information for the current login user, I would like to validate the password like the ESS Personal Information module.

I understand this should be a common question, but search for a few with no luck....

Thanks in advance

Regards

Bill

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Bill,

You can check the User name and password by using the UME API's.

Get the IUser object based on the User name

and get the IUSer Account Refer to the following JAVA DOC and we have a method called

checkPasswordExtended(String pass)

http://help.sap.com/javadocs/NW04S/SPS09/se/com/sap/security/api/IUserAccount.html

Regards,

Raju Bonagiri

Former Member
0 Kudos

Hi Raju,

Thanks for the prompt reply, am lack of skill on WD so caused me quite a while to try.

Hi Jakes,

Thanks for the reference, that's give me more information on what is possible with WD.

Tried to assign point for both of you, wish you both get them.

Thanks!

Regards

Bill

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Bill,

Could you please check the below code snippet from Wiki which shows the logged in user details in Wd.

http://wiki.sdn.sap.com/wiki/display/WDJava/CheckallUserswhohaveloggedintoportal-webdynproappl

Thanks,

Jakes.