|
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+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
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