on 07-26-2006 8:09 AM
as title as said.i need to know the current online users whom are on bowsing some view after logined it..
(web dynpro project+EP)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wingoal,
In portal Means
String strUserid=new String();
IWDClientUser wdUser = WDClientUser.getCurrentUser();
IUser user = wdUser.getSAPUser();
if (user!=null)
{
IUserAccount[] acct = user.getUserAccounts();
if (acct[0]!=null)
{
loginuser=acct[0].getLogonUid();
strUserid += acct[0].getLogonUid();
}
}
First Add,
Add WD_RUNTIME/com.sap.security/lib/com.sap.security.api.jar to your project`s java build path
Regards,
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,Saravanan K
i can got the all online-users after users logined in EP.
but i don't know how to got the users who are browsing someone view.
<b>in fact i just wanna to send some Message to these who are opened some views(keep opening beftore closed it).if this,although someone logined in EP.he still cann't receive message because he is not browsing the view!</b>
furthermore:
[color=red]<b>loginuser=acct[0].getLogonUid();</b>[/color]
//which type is for [color=green]<b>loginuser</b>[/color]?
Hi,wingoal :
Try this :
try{
IWDClientUser user = WDClientUser.getCurrentUser();
}
catch ...
String firstName = user.getFirstName();
String secondName = user.getLastName();
......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.