on 04-20-2006 6:46 AM
Hi gurus,
we had a task to migrate the weblogic stuffs to sap Netweaver ..... this is succussefully done.
Now we need to pass the EP user to this J2ee Application which deployed in the SAP J2EE Engine...
How can we achieve this ...any tips
Note: valuable points will be given
Thanks and Regards
Swamy.B
Hi Pravesh,
Already we had used user UME API, it works fine for EP Objects. But it is not working for J2EE Application
we had used below code after refering the J2ee project to com.sap.security.api.jar
IUser user1=UMFactory.getUserFactory().getUserByLogonID(request.getRemoteUser());
user1.getFirstName());
user1.getLastName());
Error Message : com.sap.security.api.NoSuchUserAccountException
Thanks and Regards
Swamy.B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swamy,
Ok! Just have a look to this link if this could help you.. I think this is the somewhat the same scenario which you are talking about..
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=118498&messageID=1328414">Link1</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=49940&messageID=511986">Link 2</a>
I hope this helps you.
Regards
Pravesh
Hi Narayanaswamy,
You can use the UME API's to get the logged on user details. <b>IUser</b>, interface is used to get the user information.
Apart from this you can also see this link :
<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/code-samples/List%20Logged%20On%20Users%20Code%20Sample.htm">Logged on user</a>
I hope this helps you.
Regards
Pravesh
PS: Please consider rewarding points if helpful or solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.