Syntax
Public Function GetGroupInfo(ByRef vClient As Integer) As CallingResultsEnum
Description
This function used to get information for the given group, after GetOfficeInfo executes GroupInfoRecived event fired.
Parameters
Parameter |
Description |
vClient |
Client ID to get the information of, value of type is Integer |
Return value
Return value of type CallingResultsEnum, if request sent to server successfully it will return SuccessResult.
Sample
Private Sub GroupInfo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles GroupInfo.Click
‘BOAPI is a predefined variable as CVertexBOAPI10
Dim Result As CallingResultsEnum
Dim vClient As COClient
vClient = BOAPI.ClientByIndex(1)
Result = BOAPI.GetGroupInfo (vClient.ClientID)
MsgBox (Result.ToString)
End Sub
Private Sub BOAPI_GroupInfoRecived(ByRef FName As String, ByRef Username As String, ByRef Password As String, ByRef WhiteLabeled As Boolean, ByRef Demo As Boolean, ByRef ReadOnly As Boolean, ByRef Phone As String, ByRef Fax As String, ByRef Mobile As String, ByRef TelFax As String, ByRef POB As String, ByRef Email As String, ByRef Address As String) Handles BOAPI.GroupInfoRecived
MsgBox (“Group name” & FName & “Username” & Username & “Password” & Password & “Email” & Email)
End Sub
See Also
VertexFX Backoffice API Index
|