on 08-01-2008 2:05 PM
Hi,
I am trying to understand as to how to use UME permissions and actions in a WebDynpro application. Can someone provide me steps of how to achieve it. Please do not provide me links to other threads or help.sap.com. I have gone through them.
Will reward points for helpful answer
Thanks in advance.
Regards
I have found the answer myself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to use the UME for getting the information that who has currently logged in, then you can use the following steps:
1. Import the jar file com.sap.security.api.jar
2.In the WDInit() method create an object if the IWDClientUser like this
IWDClientUser wdUser = WDClientUser.getLoggedInClientUser();
3. Now create an object of the Iuser inerface
IUser user = wdUser.getSAPUser();
4. You can use the object user to get all the info abot the logged in user and depending upon the permissions of the user you can enhance your application.
regards
Naresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.