IWDClientUser wdUser = WDClientUser.getCurrentUser();
Hi Hart,
Try using the following piece of code.
IUser user = wdUser.getSAPUser();
if(user != null){
IUserAccounts[] acct = user.getUserAccounts();
if(acct[0] != null){
String strUserid = acct[0].getLogonUid();
}
......
}
else{
// code for anonymous user
}
Regards
Sidharth
Add a comment