To configure this portlet you first have to create the related query. Open Users application, input the following where clause (under Advanced Search menu) and press OK button.
userid in (select userid from maxsession where active=1 and issystem!=1)
Save the query with the following properties:
- Query Name: LOGGEDUSERS
- Description: Currently logged in users
- Public: No
- Default?: No
Edit the portlet and select the LOGGEDUSERS query. In the Column Display tab select the following columns: USERID, TYPE, PERSONID.
I would add also:
ReplyDeleteissystem !=1
Query updated.
DeleteThank you for the suggestion.
If you create the query from within the PEOPLE application instead, your result set can include DISPLAYNAME (helpful for those of us with many users!)....
ReplyDeletepersonid in (select userid from maxsession where issystem !=1)
another option is that you might have userid <> personid then following query should accommodate the requirement:
ReplyDeletepersonid in (select personid from maxuser where userid in (select userid from maxsession where issystem !=1));
Another option is to create a custom Application on MAXSESSION, create a Query in that application, authorize administrators to that application and put a startcenter-portlet using that query. from there you can directly jump to the maxsession-app and log-off users.
ReplyDelete