IRPCLoginsAdmin.GetOrganizationalUnitsForDomain

View as Markdown

Administration API / specialized admin session idempotent

Lists the organizational units of a Windows domain.

ServiceServer login accounts MFiles.IRPCLoginsAdmin
gRPC method/MFiles.IRPCLoginsAdmin/GetOrganizationalUnitsForDomain
HTTP (mf-http-grpc)POST /grpc/v1/get-organizational-units-for-domain
RequestGetOrganizationalUnitsForDomainRequest
ResponseGetOrganizationalUnitsForDomainResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: GetOrganizationalUnitsForDomainRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
domainstringThe 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.

FieldTypeDescription
ous[]repeated DirectoryItemReceives organizational units.
ous[].distinguished_namestringThe distinguished name of the directory item, e.g. "CN=gr01,OU=orgunit,DC=domain,DC=com"
ous[].display_namestringName of the directory object as displayed in user interface.