IRPCLoginsAdmin.GetDomainName
Administration API / specialized admin session idempotent
Gets the Windows domain of the server computer, or the computer name if it is not in a domain.
| Service | Server login accounts MFiles.IRPCLoginsAdmin |
|---|---|
| gRPC method | /MFiles.IRPCLoginsAdmin/GetDomainName |
| HTTP (mf-http-grpc) | POST /grpc/v1/get-domain-name |
| Request | GetDomainNameRequest |
| Response | GetDomainNameResponse |
| 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). Denied for other callers.
Request: GetDomainNameRequest
No fields.
Response: GetDomainNameResponse
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, or the computer name when the server is not in a domain. |