ContactStruct type

Specifies or retrieves information on a user contact within a list of available contacts, Contact List and messaging groups.

Type ContactStruct     Flags As Long     OuId As Long     Status As PresenceStatus     Account As String     FirstName As String     LastName As String End Type

Members

Flags
Not used in this version of the IM Client SDK.
OuId
Contains the ID of Organizational Unit under which the contact is located. This member is filled only if a list of available contacts or Contact List is retrieved from IM server and the lists are structured (tree-based). It refers to Id member of an element from array of OuStruct type that can be returned by IServerClientVBA::EnumContactList and IServerClientVBA::EnumAvailableContacts methods.
Status
A variable of PresenceStatus enum type which contains contact's current presence status. This member can be one of the following values:
PresenceStatus.PresenceStatus_Online
Indicates that the contact is currently connected to the IM server and is online.
PresenceStatus.PresenceStatus_Offline
Indicates that the contact is not connected to the IM server.
PresenceStatus.PresenceStatus_Away
Indicates that the contact is currently connected to the IM server but away mode is enabled on the IM client.
Account
Contains the name of contact (user account).
FirstName
Contains contact's first name.
LastName
Contains contact's last name.