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
)
Public Function GetOnlineUsers (
usersCount As Integer
) As XHRServiceResponseGeneric(Of OnLineUser())
public:
virtual XHRServiceResponseGeneric<array<OnLineUser^>^>^ GetOnlineUsers(
int usersCount
) sealed
abstract GetOnlineUsers :
usersCount : int -> XHRServiceResponseGeneric<OnLineUser[]>
override 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