Syntax
Public function GetAllSessionsInfo(ByRef vUsernames As System.Array, ByRef vLoginTimes As System.Array, ByRef vIPs As System.Array, ByRef vSessionIDs As System.Array) As Boolean
Description
This function is used to get the all connected sessions info.
Parameters
Key | Description |
vUsernames | Server result buffer that contain session usernames, value of type is Array |
vLoginTimes | Server result buffer that contain session login times, value of type is Array |
vIPs | Server result buffer that contain session IPs address, value of type is Array |
vSessionIDs | Server result buffer that contain session IDs , value of type is Array |
Return value
Returns true if get information for connected session was successful, otherwise returns false.
Sample
Private Sub SessionsInfo_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SessionsInfo.Click Dim vusername As System.Array Dim loginTime As System.Array Dim IPs As System.Array Dim vSessionID As System.Array Dim Result As Boolean Result = server.GetAllSessionsInfo (vusername, loginTime, IPs, vSessionID) End Sub
See Also