Knowledgebase:
GetClientInfo
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 07 May 2017 11:38 AM

Syntax

 Public Function GetClientInfo (vClient As Integer) As CallingResultsEnum

This function is used to get information about the given client, after GetClientInfo method executes the ClientInfoRecieved event fired.

Parameters

Parameter Description 
vClient Client ID that want to get his information, value of type is Integer

Return value

Return value of type CallingResultsEnum, if the request sent to server successfully it will return SuccessResult.

Sample

 Private Sub GetInfo_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GetInfo.Click

         ‘BOAPI is a predefined variable as CVertexBOAPI10  

          Dim Result As CallingResultsEnum
          Dim vClient As COClient
          vClient = m_oBOAPI.ClientByIndex(1)
                Result= BOAPI.GetClientInfo (vClient.ClientID)
          Msgbox (Result.ToString)

 End Sub

 Private Sub BOAPI_ClientInfoRecieved (vFName As String, vSName As String, vTName As String, vLName As String, vTel As String, vMobile As String, vTelFax As String, vPop As String, vFax As String, vEmail As String, vAddress As String, vUsername As String, vPassword As String, vReadOnly As Boolean, vCountry As String) Handles BOAPI.ClientInfoRecieved

 Msgbox (“the first client name is:” & vFName & “The second name is:” & vSName & “The Third name is:” &

         vTName & “The last name is:” & vLName& “Telephone number: ” & vTel & “ mobile number: ” & vMobile &

         “TelFax number:” & vTelFax & “the Post office box:” & vPop & “fax number:” & vFax & “Email:” &    

         vEmail & “Address:” & vAddress & “username: ” &  vUsername & “Password :” & vPassword  & “if it

         read only:” & vReadOnly & “Country:” & vCountry)

 End Sub


See Also


VertexFX Backoffice API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions