Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

IUser in WebDynPro 7.10 CE

Hey there

In WebDynPro 7.0 i could use the following code-string to get the SAPUser

 WDClientUser.getCurrentUser().getSAPUser(); 

I had to add the security.api as used dc into the JDI (NWDI) and it works.

Now in 7.10 i couldn't find the security.api or some dc which can be used like that!

Can anybody say to me what I've to do to get the IUser in 7.1 (Adding some additional Development Components into my track?)

Regards

replied

Hi,

1. Switch to "Development Infrastructure" perspective in NWDS

2. Select your component from the "Component Browser", right-click and select "Show In -> Component Properties". This will open up the "Component Properties" view on the right.

3. Select the "Dependencies" tab and click on "Add".

4. From the resulting pop-up expand "ENGINEAPI(sap.com)" and select "com.sap.security.api.sda" and "security_api". Click "Next" and make sure to select design time dependency.

5. Sync the used DCs.

Regards,

Satyajit.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question