|
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+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
Syntax List<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