Knowledgebase:
isChild
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 08 May 2017 11:23 AM

Syntax

Readonly Property isChild(ByRef ClientID As Integer,ByRef ParentID As Integer)As Boolean

This property is used to check if the given client is child of the given parent identifier or not.

Parameters

Part Description
ClientID Client identifier to be checked ,value of type is Integer.
ParentID Parent identifier to be checked with ,value of type is Integer.

Remarks  

Used to check if client is child of office or group. If the client is a child of an office or group. This property will be true. Otherwise, it will have false as its value. 

Return value

Returns True if the client is child to the given parent ,Otherwise return false.

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub isChild_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles isChild.Click

    Dim vClient As COClient 

    vClient = BOAPI.ClientByIndex(1)

    Dim ParentID As Integer = BOAPI.RootID

    msgBox(BOAPI.isChild(vClient.clientID ,ParentID))

 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