Skip to content

GetPath

Retrieves the organizational path of a specified organization unit.

1
$Membership.GetPath(unitId: string, separator: string):string

Parameters

string unitId
    The unique identifier of the organization unit.

string separator
    The separator to use between organization unit names in the path. If not specified, the default separator "/" is used.

Returns

The organizational path of the specified unit, constructed by recursively traversing its parent units.