Vault management (basic) (IRPCVaultsAdminBasic)
Lists the vaults, replica vaults and Ground Link proxy vaults of the server with their administrative details, as far as the caller is allowed to see them.
Use this interface to get document vault definitions. Use IRPCVaultsAdmin to add, modify and remove vaults. We have separated these read operations from operations that manipulate vaults to a dedicated interface to get better isolation. These read operations do not require the "manage vaults" server-level right. So, users with full control of vault can use these methods. These methods need to be supported even if the user does not have the "manage vaults" server-level right so that the user could control his vaults, e.g., change various metadata elements. This is the case in cloud vault.
| gRPC service | MFiles.IRPCVaultsAdminBasic |
|---|---|
| Book and level | Administration API, specialized |
| Methods | 7 |
| Proto file | mfiles/IRPCVaultsAdminBasic.proto |
Overview
M-Files Admin uses this service to fill its "Document Vaults" node. Unlike the vault-changing administration services, these read methods are open to any session: the server decides how much to return.
Sessions and rights. A server-level session is enough (log in with login_data.vault_guid =
{00000000-0000-0000-0000-000000000000}); a vault session works too. No right is required, but:
- With the server right
manage_vaults(ServerAccess; system administrators have it),can_manage_vaultsis true and the vault data is complete (data folders, database settings, file data storage), except database credentials. - Otherwise
can_manage_vaultsis false and only the basic vault data (GUID, name, host names) is filled. GetVaultAdmin adds the database engine and file data storage type when called in a vault session with full control of the vault. - The vault lists of callers without
manage_vaultscontain only the vaults in which they have a user account.
Methods: GetVaultsAdmin and GetVaultAdmin for ordinary vaults, GetReplicasOfVaultsAdmin and GetReplicaOfVaultAdmin for replica vaults, GetGroundLinkProxiesAdmin and GetGroundLinkProxyAdmin for Ground Link proxy vaults. GetAddInSettings is for M-Files' own web components.
To list the vaults a user can log in to, use IRPCVaults instead.
Methods
| Method | Summary | Facts |
|---|---|---|
| GetAddInSettings | Gets the cross-origin (CORS) and cross-frame settings that a vault's add-in configuration allows. | internal: not for applications admin no session |
| GetGroundLinkProxiesAdmin | Lists the Ground Link proxy vaults of the server, including offline ones. | admin session idempotent |
| GetGroundLinkProxyAdmin | Gets one Ground Link proxy vault with its administrative details. | admin session idempotent |
| GetReplicaOfVaultAdmin | Gets one replica vault with its administrative details. | admin session idempotent |
| GetReplicasOfVaultsAdmin | Lists the replica vaults of the server. | admin session idempotent |
| GetVaultAdmin | Gets one ordinary vault with its administrative details. | admin session idempotent |
| GetVaultsAdmin | Lists the ordinary vaults of the server (not replicas or Ground Link proxies) with their administrative details, including offline vaults. | admin session idempotent |