SessionLogEx()


Get a Session Log for a specified User.

Public Function SessionLog(ByVal SessionID As String, _
                          
ByVal UserID As Integer, _
                           ByVal
MaxRecords As Short) _
                          
As List(Of SessionLog)

Parameters

SessionID
String - GUID
The current session's GUID in string format. This is a 32-character hexidecimal string in the format:
00000000-0000-0000-0000-000000000000. This is the value returned by the Login() function.
UserID
Integer
A numeric value used to represent a specific user on the system.
MaxRecords
Short
The maximum number of records to be returned by the API call.
 

Returns

SessionLog Collection

SessionID
String - GUID
The current session's GUID in string format.
StartTime 
Date 
When the Session started with a Login.
EndTime 
Date 
When the Session was ended with a Logout
Expires
Date 
When the Session will or did expire due to inactivity. 
NetworkID
Integer
The NetworkID assigned to Network on ECGrid.
MailboxID
Integer
The MailboxID assigned to a Mailbox within a Network on ECGrid.
UserID
Integer
A numeric value used to represent a specific user on the system.
Status
Short - SessionStatus 
Whether the Session is currently Open, Closed or Expired.
Events 
Object Collection - SessionEvents 
A listnig off all calls made during the Session. 
SessionEvents Object 
APICall 
Short - APICall ENUM
The name of the ECGridOS function call.
Date 
Date 
The date/time stamp for the call. 
Milliseconds 
Integer 
The execution time for the call 
ip
String
The IP address for the current session.
ReturnCode 
Short - RetCode ENUM
The return code result for the call
Comment 
String 
Related comments logged in the system.

Remarks

This is a developer's API and returns information the last "MaxRecords" sessions. MaxRecords is limited to a a maximum of 100 sessions.

EventID: 1017

See Also

SessionLog()


© 2008-2011, Loren Data Corp.
All rights reserved.
ECGrid is a registered service mark of Loren Data Corp.
ECGridOS is a service mark of Loren Data Corp.