cancel
Showing results for 
Search instead for 
Did you mean: 

Get all logged In Users on CE 7.2 Portal

former_member40425
Contributor
0 Kudos

Hi Experts,

How can I get all Logged In users in CE 7.2.

I have tried following code.


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<i>.getSAPUser() != null)
{
//Displaying the logged on users;
wdComponentAPI.getMessageManager().reportSuccess("User - "+currentUsers<i>.getSAPUser().getUniqueName());
}
}

But its not working in CE 7.2.

Please help me to get all logged in users in CE 7.2.

A standard application would also help like *portal activity report application *.

what is service configuration in CE 7.2 to activate activity report service start.??

Regards,

Rohit

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

i don't think you get that by code.

try this.

nwa ->availability and performance management->resource monitoring-->java system reports

you will find a report regarding logged in users.

former_member40425
Contributor
0 Kudos

Hi John,

Thanks for the reply.

We are not getting correct number of users by this.

Even I tried creating iView of Type of Portal Activity Report iView.

But I am getting following exception as I create it. is there any Any specific configuration required.

Portal runtime error

An exception occurred while processing your request. Send the exception ID to your portal administrator.

Exception ID 02:01_24/08/11_0009_7942550

See log file for details about this exception

Regards,

Rohit

junwu
Active Contributor
0 Kudos

as I know, there is no code/api that can help you out, it is really a shame that portal is missing this kind of basic function.

Answers (0)