|
IBusinessUnitGetBusinessUnitHierarchy Method
|
Gets business unit hierarchy under given Business unit, or the entire business unit hierarchy of organization.
Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+15fb745f475e3d6908885f97de1e1cf9c83dcdd3
SyntaxList<BusinessUnit> GetBusinessUnitHierarchy(
string rootBusinessUnitGuid,
int options
)
Function GetBusinessUnitHierarchy (
rootBusinessUnitGuid As String,
options As Integer
) As List(Of BusinessUnit)
Parameters
- rootBusinessUnitGuid String
-
Unique identifier for the root business unit of the requested hierarchy.
This parameter is ignored, if options parameter has EntireHierarchy-bit set.
- options Int32
-
Bitflag. Each bit of the enum represents a separate option. Use 'Bitwise Or' to specify a combination of options.
See BusinessUnitGetOptions enumeration for details and values.
Return Value
ListBusinessUnitList of BusinessUnit objects.
Exceptions
Remarks
There will always be at least one business unit. It is impossible to delete all BusinessUnits in Visma Severa.
See Also