5.5.1

Table Of Contents
Type Value Description
String
parentType
Type of parent object. You can narrow
the search by specifying the parent
type, which limits the result to
children related by the given relation
to parents of a given parent type.
This value can be null, in which case
hasChildrenInRelation checks for
child objects related by the specified
relation type to all types of parent.
String
parentId
ID of a particular parent object.
Specifying the parentId allows you to
check for children related by a given
relation to a particular parent. This
check is useful if a particular parent
has large numbers of children that are
related to it by different relation types.
The findRelation operation returns
all of that parent's children, regardless
of the relation
type.hasChildrenInRelation checks
for the presence of only the children
related by the desired relation type.
This value can be null if you call
hasChildrenInRelation on the root
object of the hierarchy of objects.
String
relation
The type of relation by which children
are related to their parents.
Relation types are specified in the
vso.xml file for each plug-in.
String
username
Orchestrator user name.
String
password
Orchestrator password.
Return Value
Returns one of the following values:
1
Yes, children of the specified relation type are present
-1
No, children of the specified relation type are not present
0
Unknown, or an input parameter is invalid
Related Information
For more information, see “findRelation Operation,” on page 84.
hasRights Operation
The hasRights operation checks whether a user has permissions to view, edit, and run workflows.
To check the rights that you have on a workflow, you must have permission to view that workflow. If you
have only edit or run permission on a workflow, you cannot view what rights you have on this workflow,
and hasRights returns False.
A Web service application can check those rights by calling the hasRights operation. In the following
example, hasRights checks whether the user has the right to read the workflow.
hasRights(workflowId, username, password, 'r')
Developing a Web Services Client for VMware vCenter Orchestrator
92 VMware, Inc.