Knowledgebase:
GetAllSessionsInfo
Posted by Mohammad Rahhal, Last modified by Yousef Ibrahim on 23 August 2016 03:59 PM

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

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


Back to Currency Server API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions