IRPCLoginsAdmin.GetOrganizationalUnitsForDomain
Administration API / specialized admin session idempotent
Lists the organizational units of a Windows domain.
| Service | Server login accounts MFiles.IRPCLoginsAdmin |
|---|---|
| gRPC method | /MFiles.IRPCLoginsAdmin/GetOrganizationalUnitsForDomain |
| HTTP (mf-http-grpc) | POST /grpc/v1/get-organizational-units-for-domain |
| Request | GetOrganizationalUnitsForDomainRequest |
| Response | GetOrganizationalUnitsForDomainResponse |
| Book and level | Administration API, specialized |
| Kind | admin |
| Session | Required: the session ID from LogIn in the mfiles-session-id-bin metadata. |
| Idempotent | yes |
| Returns metadata structure version | no |
| Streaming | none (unary) |
Remarks
- Requires the system administrator server role (server right
manage_logins).
Request: GetOrganizationalUnitsForDomainRequest
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
domain | string | The domain name in NetBIOS form, for example CONTOSO. |
Response: GetOrganizationalUnitsForDomainResponse
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
ous[] | repeated DirectoryItem | Receives organizational units. |
ous[].distinguished_name | string | The distinguished name of the directory item, e.g. "CN=gr01,OU=orgunit,DC=domain,DC=com" |
ous[].display_name | string | Name of the directory object as displayed in user interface. |