WhoAmI()


Returns current session information.

Public Function WhoAmI(ByVal SessionID As String) As SessionInfo

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.

Returns

SessionInfo Object

ECGridOSVersion 
String
The version of the current ECGridOS API.
SessionID
String - GUID
The current session's GUID in string format.
UserID
Integer
A numeric value used to represent a specific user on the system.
LoginName
String(8,16)
A user's login name.
FirstName
String(1,50)
A user's first name.
LastName
String(1,50)
A user's last name.
Company
String(0,50)
A company name.
Email
String(1,50)
A valid Email address.
Phone
String(0,20)
A phone number.
TimeZoneOffset 
Short
The number of minutes + or - the user local time is from UTC.
AuthLevel
Short - AuthLevel ENUM
The Authority Level for system access.
LastLogin
Date
The last date/time this User logged in.
OpenSessions
Short
The number of current open session for this User.
TimeOut
Short
The maximum number of seconds between calls in a session before it automatically times out.
NetworkID
Integer
The NetworkID assigned to Network on ECGrid.
MailboxID
Integer
The MailboxID assigned to a Mailbox within a Network on ECGrid.
ip
String
The IP address for the current session.

Remarks

This is purely an informational call and can be used to verify system functionality.

Example

Visual Basic
[insert code sample]

EventID: 1004

See Also

AuthorizationLevel
Sessions
SessionInfo Object


© 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.