get_organizational_hierarchy
Retrieves the organizational hierarchy of departments, lines-of-business, and cost centers for the specified organizational entity.
Standard Mode
emcli get_organizational_hierarchy
-entity_name="entity name"
[-tenant_name="tenant name"]
[ ] indicates that the parameter is optional.Interactive or Script Mode
emcli get_organizational_hierarchy
(entity_name="entity name"
[,tenant_name="tenant name"])
[ ] indicates that the parameter is optional.Options
-
entity_name
Name of the organizational entity whose hierarchy to retrieve.
-
tenant_name
Specifies the name of the tenant to which the specified organizational entity belongs. Default is the tenant of the logged-in user.
Exit Codes
0 if successful. A non-zero value indicates that verb processing was unsuccessful.
Example
The following example retrieves the organizational hierarchy for an entity named investments that belongs to the Capital Gains tenant.
emcli get_organizational_hierarchy
entity_name="investments"
tenant_name="Capital Gains"