on 2008 Sep 22 9:48 PM
I am trying to get a service user in a Web Dynpro Callable Object so that I can navigate through the currently running Guide Procedure process, but when I execute the following:
IWDClientUser administrator = WDClientUser. getClientUser("caf_gp_svcuser");
it returns the logged in user instead of the service user. I can get a service user?
Hi,
If you require the IUser object of caf_gp_svcuser user then you can try the following UME Apis in your WD application.
IUser svcUser = UMFactory.getUserFactory().getUserByLogonID("caf_gp_svcuser")
Siddharth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you both. In answer to your response Satyajit, caf_gp_svcuser is a user, it is defined as a UME user in my Portal UME. I did not define this user, it was already there when I was looking for a service user to use. Kushboo, I did not find anything in the doc that you provided a link to. There was nothing in there about getting a service user or even about navigating processes through the API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Timothy,
have alook at this doc :[Doc|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814]
chk this class also:[http://help.sap.com/javadocs/nwce/current/gp/com/sap/caf/eu/gp/co/type/api/IGPCallableObjectType.html]
it might hlp u
Regards
Khushboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
According to the javadocs of WDClientUser.getClientUser(String),
>Gets the IWDClientUser with the client user ID supplied as input parameter, if existing. If not existing, the currently logged in client user is returned with an arbitrary clientUserID.
This clearly means that "caf_gp_svcuser" doesn't exist as an user - this is correct because "caf_gp_svcuser" is a role and not an user.
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.