OverviewServicesGetOnlineUsers Method
|
Retrieves the list of users that are currently logged into CMS
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<OnLineUser[]> GetOnlineUsers(
int usersCount
)
Public Function GetOnlineUsers (
usersCount As Integer
) As XHRServiceResponseGeneric(Of OnLineUser())
public:
XHRServiceResponseGeneric<array<OnLineUser^>^>^ GetOnlineUsers(
int usersCount
)
member GetOnlineUsers :
usersCount : int -> XHRServiceResponseGeneric<OnLineUser[]>
Parameters
- usersCount
- Type: SystemInt32
Number of user to return
Return Value
Type:
XHRServiceResponseGenericOnLineUserList of users that are logged in
Examples Sample JSON return
{
"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