IRPCVaultsAdminBasic.GetVaultAdmin

View as Markdown

Administration API / specialized admin session idempotent

Gets one ordinary vault with its administrative details.

ServiceVault management (basic) MFiles.IRPCVaultsAdminBasic
gRPC method/MFiles.IRPCVaultsAdminBasic/GetVaultAdmin
HTTP (mf-http-grpc)POST /grpc/v1/get-vault-admin
RequestGetVaultAdminRequest
ResponseGetVaultAdminResponse
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: GetVaultAdminRequest

A structure that specifies get vault admin request.

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

FieldTypeDescription
guidstringThe vault GUID with braces.

Response: GetVaultAdminResponse

A structure that specifies get vault admin response.

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

FieldTypeDescription
can_manage_vaultsboolTrue if the caller has the server right manage_vaults.
vaultVaultThe vault. The fields filled depend on the caller (see the remarks). See Vault.
vault.vaultVaultBasicBasic data.
vault.vault.guidstringThe vault GUID, in braces and upper case. Use it as LoginData.vault_guid.
vault.vault.display_namestringThe vault name shown to users.
vault.vault.tooltipstringOptional description. Often empty.
vault.vault.iconbytesThe vault icon in .ico format, or empty.
vault.vault.dns_namesStringArrayHost names configured for the vault, if any.
vault.main_data_folderstringThe main physical folder of this vault on the server (e.g. C:\Program Files\M-Files\Server Vaults\MyVault).
vault.additional_data_folders[]repeated AdditionalFolderThe specification of the additional file data folders.
vault.additional_data_folders[].pathstringPath (e.g. "\servername\sharename\folder").
vault.additional_data_folders[].limit_in_mbuint32Data limit in megabytes or zero if no limit.
vault.additional_data_folders[].impersonationImpersonationImpersonation information for accessing the folder.
vault.database_infoSQLDatabaseThe vault's SQL database.
vault.database_info.engineDBEngineDatabase engine identification.Values: DBENGINE_NONE (0), DBENGINE_FIREBIRD (1), DBENGINE_MS_SQL_SERVER (2).
vault.database_info.server_namestringThe data source i.e. the database server name where the vault's database is residing. This is specified for data service DB engines only. It is empty or unset for embedded databases such as Firebird Embedded.
vault.database_info.database_namestringThe catalog i.e. the database name where the vault's data is residing. Allows the database name to differ from the vault display name. This is not specified in the Firebird case.
vault.database_info.system_admin_impersonationImpersonationImpersonation information for accessing the database engine for administrative purposes. This contains SYSDBA (System Database Administrator) user name and password. If unset, the default user name and password are used.
vault.database_info.basic_user_impersonationImpersonationImpersonation information for accessing the database engine in basic user operations that do not modify the database structure. This contains DB user name and password. If unset, the default user name and password are used.
vault.file_data_storageFileDataStorageIdentifies file data storage to use. Typically specifies that the file data storage is determined automatically.Values: FILE_DATA_STORAGE_DEFAULT (0), FILE_DATA_STORAGE_DISK (1), FILE_DATA_STORAGE_DATABASE (2), FILE_DATA_STORAGE_EXTERNAL (3), FILE_DATA_STORAGE_MASTER (4).
vault.file_data_connection_stringstringThe connection string that identifies the location, protocol, and credentials for the file data storage of this vault. For example, this might specify a storage account, a protocol, and a container name for Azure's BLOB Services. Can be unset or empty.
vault_variables[]repeated VaultVariableThe vault variables, such as the full-text search language and the ACL mode, returned to every caller.
vault_variables[].namestringThe name of the vault variable.
vault_variables[].valuebytesThe value of the variable in a serialized format.
online_stateboolThe online state of the vault.
tenants_enabled_for_officeStringArrayThe Microsoft 365 tenant IDs where M-Files integrations have been enabled, if the server has this information; otherwise empty.
tenants_enabled_for_office.value[]repeated stringString values.