Skip to Content
0
Former Member
Jan 12, 2012 at 11:52 AM

How to get the Logged In User in NWDS 7.3

71 Views

Hello experts,

We are using NWDS version 7.3 in which we are trying to get the logged in user in webdynpro java code . Normally i have coded like below but i received error.

try {

IUser user = WDClientUser.getCurrentUser().getSAPUser();

} catch (WDUMException ex) {

wdComponentAPI.getMessageManager().raiseException(ex.getLocalizedMessage(), true);

}

As far i know we need to add the com.sap.security.api.jar in NWDS , I reachout to the NWDS-->WD_RUNTIME but still we did' nt get the JAR file.

The same way we use to do it in NWDS 7.0 , Is any diffence in doing in NWDS 7.3?

Any way i want to get the Logged id user id in NWDS 7.3-->WD java?

Any help will be appreciated with points.

-Regards,

Alok