on 09-06-2005 4:44 PM
how do I check user Credentials?
This is what I am trying to do:
I am validating user after he enters his credentails.
He is allowed to do some tasks. He can then approve/reject a process. I would like to check if the person who is approving/rejecting is a valid user. So I have a screen where I ask the user to re-type his userId/password. I need to validate user now. How do I do it. I have check IUser but I couldn't find any method where I can pass userId and password to check if he is a valid user.
any suggestion is greatly appreciated.
Thanks,
Praveen.
Hi Praveen,
Good that you have reached close to your search. You will not find the authentication scheme in IUser. try and look in the IUserAccount Interface. Please visit this link:
<b>https://media.sdn.sap.com/javadocs/NW04/SP9/ume/com/sap/security/api/IUserAccount.html</b>
Here the function that can help you are:
1) checkPassword()
2) getAssignedUserID()
Try and work around with these functions or you can also use other function as per the requirement, but that you have to explore!!
I hope this will definately help you
Regards
Pravesh
PS: Please consider to award points.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.