Skip to Content
0
Former Member
Feb 16, 2009 at 12:01 PM

Current logged users in Portal Production server

25 Views

Dear All,

Current logged users I am getting properly in Portal quality server but not in Portal production server using below code through web dynpro application:

-> webdynpro_services.jar located at <plugins folder>\com.sap.tc.webdynpro.runtime\lib

-> com.sap.security.api.jar located at <plugins folder>\com.sap.security\lib

import com.sap.tc.webdynpro.services.sal.um.api.IWDClientUser;

import com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;

IWDClientUser currentUsers[] = WDClientUser.getClientUsers();

//Displaying the count of logged on users

wdComponentAPI.getMessageManager().reportSuccess("Number of logged on Users in the portal"+currentUsers.length);

for(int i = 0; i < currentUsers.length; i++)

{

if(currentUsers.getSAPUser() != null)

{

//Displaying the logged on users;

wdComponentAPI.getMessageManager().reportSuccess("User - "+currentUsers.getSAPUser().getUniqueName());

As patch level difference At WAS configuration of the QAS and PAS dispatcher and server node for java environment I may not be getting the result in production as like quality..

Plz guide how to resolve this

Thanx in advance

Regards:

Venkatramana.

Edited by: venkat ramana on Feb 16, 2009 5:57 PM