Click or drag to resize

OverviewServicesGetOnlineUsers Method


Retrieves the list of users that are currently logged into CMS

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<OnLineUser[]> GetOnlineUsers(
	int usersCount
)

Parameters

usersCount
Type: SystemInt32
Number of user to return

Return Value

Type: XHRServiceResponseGenericOnLineUser

List of users that are logged in

Examples

Sample JSON return

JavaScript
{
  "ContentFreezeEndTime": "",
  "ContentFreezeStartTime": "",
  "code": 0,
  "error": null,
  "message": [
    {
      "LastActive": "20180406T00:11:54",
      "Name": "Jim",
      "Picture": "jim.jpg",
      "Title": "CEO",
      "UserId": "jim"
    },
    {
      "LastActive": "20180406T00:11:54",
      "Name": "Arnold",
      "Picture": "arnold.jpg",
      "Title": "Lead Developer",
      "UserId": "arnold"
    }    
  ]
}
See Also