Get Organizational Unit

Important

This version of Orchestrator has reached the end of support. We recommend you to upgrade to Orchestrator 2022.

You can use the Get Organizational Unit activity in a runbook to get the properties of an organizational unit in Active Directory Domain Services (AD DS).

This activity publishes all of the data from the required and optional properties into published data. Additional published data is generated based on the class that you select when you define the activity.

The following tables list the required and optional properties and published data for this activity.

Get Organizational Unit optional properties

Element Description Valid Values
ReturnDNOnly If true, only the Distinguished Name property will be returned instead of all the properties Boolean
Search Root The distinguished name of the node in the Active Directory Domain Services hierarchy where the search starts String
Search Scope The scope of the search that is observed by the server; the options are Base, OneLevel, or SubTree String

Get Organizational Unit filter properties

Element Description Filters Value Type
Description Description for the organizational unit EqualTo, NotEqualTo, Contains, DoesNotContain, EndsWith, StartsWith String
Display Name Display name of the organizational unit EqualTo, NotEqualTo, Contains, DoesNotContain, EndsWith, StartsWith String
Managed By Distinguished name of the user that is assigned to manage this object EqualTo String
Organizational Unit Unique name to identify the organizational unit EqualTo, NotEqualTo, Contains, DoesNotContain, EndsWith, StartsWith String
Modification Date Date the organizational unit account was last changed EqualTo, NotEqualTo, GreaterThan, GreaterThanOrEqualTo, LessThan, LessThanOrEqualTo DateTime
Creation Date Date and time that the organizational unit was created EqualTo, NotEqualTo, GreaterThan, GreaterThanOrEqualTo, LessThan, LessThanOrEqualTo DateTime

Get Organizational Unit published data

Element Description Valid Values
Description Description for the organizational unit String
Count The number of organizational units returned by this activity Integer
Display Name Display name of the organizational unit String
Distinguished Name Distinguished name that uniquely identifies the organizational unit String
Managed By Distinguished name of the user that is assigned to manage this object String
Organizational Unit Unique name to identify the organizational unit String
Modification Date Date the organizational unit account was last changed DateTime
Creation Date Date and time that the organizational unit was created DateTime
Search Root The distinguished name of the node in the Active Directory Domain Services hierarchy where the search starts String
Search Scope The scope of the search that is observed by the server; the options are Base, OneLevel, or SubTree String