Contattaci: +1-877-99-BOPUP (877-992-6787)

IServerClientVB::EnumContactList method

Retrieves the array of user contacts (Contact List) for current user stored on the IM server.

Public Sub EnumContactList(     ByRef OuArray As System.Array,     ByRef ContactArray As System.Array,     ByRef ResultCode As UInteger )

Parameters

OuArray
[out] Array of VBOuStruct structure that receives Organizational Units.
ContactArray
[out] Array of VBContactStruct structure that receives user contacts.
ResultCode
[out] Variable of UInteger type that gets an extended code if error result is returned. For available codes see Available Extended Codes topic.

Return Value

S_OK
The function was successful.
E_INVALIDARG
One or more arguments are incorrect.
E_FAIL
Some error occurred in the function. Check ResultCode variable to get extended information on the error.

Remarks

The sizes of the arrays pointed by the OuArray and ContactArray members must be equal to the OUsCount and ContactsCount members of VBContactListStruct returned by previous call of IServerClientVB::GetContactList function.