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

IServerClientVB::GetAccountInformation method

Retrieves information on current user account with a set of modification flags from the IM server.

Public Sub GetAccountInformation(     ByRef AccountFlags As UInteger,     ByRef FirstName As String,     ByRef LastName As String,     ByRef ResultCode As UInteger )

Parameters

AccountFlags
[out] Array of bitwise flags that indicate permissions of current user and relate to the IM client functionality. These flags are set on the IM server and cannot be changed by users. This member can be one or more of the following values:
VBEstablishFlag.ConfirmationMode
Requires the IM client to operate in the Confirmation Mode.
VBEstablishFlag.FileTransferDisabled
Sending files and directories is disabled.
VBEstablishFlag.BrandingEnabled
The IM server delivers image logo and associated URL (branding) on establishing session.
VBEstablishFlag.CannotChangeContacts
Changing user's contacts (Contact List) is disabled.
VBEstablishFlag.CanSendPriorityMessages
The user has permission to send urgent (priority) instant messages.
VBEstablishFlag.CanSendConfirmationMessages
The user has permission to send instant messages with confirmation response.
VBEstablishFlag.TypingEventDisabled
The IM server disables delivery of message typing event notification.
FirstName
[out] String variable that receives user's first name.
LastName
[out] String variable that receives user's last name.
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.