on 05-07-2008 7:03 PM
Using dev studio version 2.0.21 Code with IUser class:
IWDClientUser wdUser = WDClientUser.getCurrentUser();
IUser user = null;
if (wdUser != null) {
user = wdUser.getSAPUser();
}
Add the jar file to the project build for IUser, click organize imports and it adds:
import com.sap.security.api.IUser;
and everything looks good. From context menu Development Component -> Build and I get error:
... package com.sap.security.api does not exist
Check the build path and the jar file keeps disappearing. Anyone seen this before?
Hi,
If you are using NWDI, you can add used DC. Expand DC MetaData -> DC Definition. Right click in Used DC and Add Used DC. Then you find into com.sap_SAP-JEE a pakage com.sap.security.api.sda and press finish.
Regards,
Edson Thomaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks - that fixed it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mike,
Add the com.sap.security.api.sda file to the Used Dcs under DC Metadata --> DC Definition. You can find this archive file under Active DCs -->sap.com_SAP_JEE.
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.