VaultConnectionInfo

View as Markdown

Struct for info needed to connect to a vault.

Full nameMFiles.VaultConnectionInfo
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
connection_modeMFilesAPIMode1The connection mode of M-Files API.Values: MFILES_APIMODE_NORMAL (0), MFILES_APIMODE_INTERNAL_SERVER_ACCESS (1), MFILES_APIMODE_INTERNAL_SERVER_ACCESS_WITH_VAULT_MANAGEMENT (2).
rpc_binding_stringstring2Binding string to the server.
minimum_rpc_authentication_leveluint323Ignored if connectionsecuritymode is specified. RPC_C_AUTHN_LEVEL_NONE or RPC_C_AUTHN_LEVEL_PKT_PRIVACY. Specifies the minimum authentication level to use if the protocol sequence is normal RPC, such as ncacn_ip_tcp. Ignored for other protocol sequences.
server_versionstring4Server version string (e.g. "10.0.3757" or "10.0.3757.0").
client_computer_namestring5The local computer name override used in the session.
vault_guidstring6The GUID of the vault.
vault_display_namestring7The name of the vault for display purposes.
locale_for_sortinguint328Locale used for sorting.
session_idbytes9The session identifier.
session_infoSessionInfoServer10General session information.
attachment_guidstring11The current attachment GUID of the vault.
enable_keep_alivebool12True to allow the keep-alive thread to run.
server_vault_capabilitiesServerVaultCapabilities13Capabilities of M-Files Server and the connected document vault.
client_capabilitiesClientCapabilities14Capabilities of M-Files Client that were reported for the server when the connection (session) was established.
optional_grpc_cookiesstring15Optional cookie data for gRPC connections. May contain multiple "<cookie_name>=<cookie_value>" cookies separated by newline character.
server_dataServerData16Server data, including the product serial number and deployment type. Used to populate serial number and deployment type on SessionInfo.
connection_security_modeConnectionSecurityMode17Connection security mode. Overrides dwMinimumAuthenticationLevelIfNormalRPC if specified.Values: CONNECTION_SECURITY_MODE_UNSPECIFIED (0), CONNECTION_SECURITY_MODE_NONE (1), CONNECTION_SECURITY_MODE_ENCRYPTED (2), CONNECTION_SECURITY_MODE_ENCRYPTED_IF_BUILTIN_KEY_AVAILABLE (3).

Used by methods

Used in fields