IRPCLogin.Relogin

View as Markdown

Vault API / core session session

Logs in again by using the current session ID. Used by M-Files' own clients.

ServiceLogin and sessions MFiles.IRPCLogin
gRPC method/MFiles.IRPCLogin/Relogin
HTTP (mf-http-grpc)POST /grpc/v1/relogin
RequestReloginRequest
ResponseReloginResponse
Book and levelVault API, core
Kindsession
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Applications do not need this method: when a call answers UNAUTHENTICATED, log in again with LogIn. Works only for vault sessions; a logged-out session is refused.

Request: ReloginRequest

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

FieldTypeDescription
account_namestringThe account name of the session (session_data.account_name).
environment_dataEnvironmentDataDescribes the client device, as in LogIn.
environment_data.client_namestringA name for the client device, such as its host name. Shown as the session's computer name. Must not start with @{.
environment_data.timezoneTimeZoneInformationThe client device's time zone. Leave unset if unknown.
environment_data.timezone.bias_in_minutesint32The difference between UTC and local time, in minutes.
environment_data.timezone.standard_namestringA description for standard time, max length 31.
environment_data.timezone.standard_dateSystemTimeThe local date and time when the transition from daylight saving time to standard time occurs.
environment_data.timezone.standard_bias_in_minutesint32This value is added to the value of the lBias member to form the bias used during standard time.
environment_data.timezone.daylight_namestringA description for daylight saving time (DST), max length 31.
environment_data.timezone.daylight_dateSystemTimeThe local date and time when the transition from standard time to daylight saving time occurs.
environment_data.timezone.daylight_bias_in_minutesint32This value is added to the value of the lBias member to form the bias used during daylight saving time.
environment_data.host_platformstringFree-form description of the platform, for example Windows 11 or Python 3.13.
environment_data.device_tokenstringA stable, globally unique identifier of the device. Used by M-Files clients that register devices; see DisconnectDevice.
client_dataClientDataDescribes the client software, as in LogIn.
client_data.versionuint64The client's version, packed like QueryVersionResponse.server_version (major << 48 | minor << 32 | build << 16 | patch). May be 0. If the server administrator has set a minimum client version, older clients are refused with E_MFILES_INCOMPATIBLE_SERVER_VERSION.
client_data.capabilitiesClientCapabilitiesFeatures the client software handles. The server adapts some responses to them, so set only the flags your code implements; leave the rest false.
client_data.capabilities.property_def_searchabilityboolProperty definitions can be configured searchable or unsearchable.
client_data.capabilities.unmanaged_objectsboolClient understands unmanaged objects.
client_data.capabilities.extension_authentication_data_pushboolClient supports data push for extension authentications.
client_data.capabilities.custom_api_data_pushboolClient supports server data push for M-Files API & custom implementations.
client_data.capabilities.unknown_file_sizeboolClient can handle unknown or estimated file size.
client_data.capabilities.typed_metadata_suggestionsboolClient can handle metadata suggestions to all M-Files types.
client_data.capabilities.long_authentication_attempt_identifierboolThe client handles the long (32-byte) authentication attempt identifier in AuthenticationAttemptIdentifier.data.
client_data.capabilities.reverse_grouping_levelboolClient supports reverse grouping levels.
client_data.capabilities.object_permissions_for_clientboolClient supports ObjectPermissionsForClient.
client_data.capabilities.hierarchical_object_type_propertiesboolProperties with hierarchy for real object types supported.
client_data.capabilities.smart_searchboolClient supports Smart Search engine type.
client_data.capabilities.recurring_notificationsboolClient supports recurring notifications.
client_data.capabilities.smart_search_facetsboolClient supports smart search facets.
client_data.capabilities.vault_role_manage_private_viewsboolClient supports a vault role for managing private views.
client_data.capabilities.allow_all_see_deleted_conflict_objectsboolClient supports that all users can see deleted conflict objects.
client_data.capabilities.advanced_password_hashesboolClient supports hashing passwords with advanced algorithms, including at least PBKDF2.
client_data.capabilities.anonymous_authenticationboolClient supports anonymous authentication.
client_data.capabilities.dataset_deleted_conditionboolClient supports deleted/not deleted-condition in a dataset definition.
client_data.capabilities.unified_password_hashesboolClient supports transmitting hashing passwords with the same encoding between all gRPC methods.
client_data.capabilities.duplicates_viewboolClient supports the duplicates view.
client_data.capabilities.property_action_state_transition_timeboolClient supports state transition time setting via state property action.
client_data.capabilities.at_mentionsboolClient supports the @mentions in comment texts.
client_data.capabilities.additive_permissions_via_automatic_aclcomponentsboolClient supports additive permissions via automatic ACL components.
client_data.capabilities.vault_level_optimization_jobsboolClient supports vault-level optimization jobs.
client_data.capabilities.visitor_links_supportedboolClient supports new interface methods for visitor links.
client_data.capabilities.object_type_filter_multi_select_viewsboolClient supports multiple object types as a filter for views and advanced searches.
client_data.capabilities.generate_v2_azure_auth_conf_supportedboolClient supports generating authentication configuration for Azure v2.0 endpoint.
client_data.capabilities.structure_item_groups_in_exportboolClient supports structure item groups in the export job.
client_data.capabilities.aino_searchboolClient supports Aino Search engine type.
client_data.capabilities.conversation_historyboolClient supports conversation history.
client_data.capabilities.generate_login_service_auth_confboolClient supports generating authentication configuration for M-Files Login Service.
client_data.capabilities.sub_folders_in_viewsboolClient supports subfolders in views.
client_data.capabilities.reverse_references_in_pseudo_user_acesboolClient supports reverse references in pseudo-user ACEs (Access Control Entries).
client_data.capabilities.entity_version_checking_supportedboolClient supports entity version numbering to track modification conflicts.
client_data.capabilities.workflow_descriptions_supportedboolClient supports workflow descriptions.
client_data.capabilities.property_value_metadata_supportedboolClient supports setting and retrieving property value metadata.
client_data.capabilities.object_type_grouping_for_relationshipsboolClient supports object type based grouping for relationships.
client_data.capabilities.draft_objectsboolClient supports draft objects in discovery results.
client_data.languagestringThe client's language, for example en. For LogInWithSession, empty means the language of the existing session.
client_data.typeClientTypeThe kind of client. Applications use CLIENT_TYPE_SERVER_API.
client_data.type_specifierstringOptional free-form name of the client application.
login_dataLoginDataMust name the vault of the session in vault_guid.
login_data.server_hostnamestringThe host name the client used to reach the server. Optional for user name and password logins. Anonymous logins, and server-level logins on servers with vault login accounts, use it to find the vault configured for that host name.
login_data.vault_guidstringThe vault to log in to, as a GUID string with or without braces, in any case. Use {00000000-0000-0000-0000-000000000000} for a server-level session; an empty string is rejected with E_MFILES_INVALID_VAULT_GUID_X_DESC.
login_data.is_administrativeboolTrue for administrative tools that manage the vault rather than work with documents, as M-Files Admin does. Applications leave it false.
login_data.client_session_timeout_in_secondsuint32Optional. Requests a longer idle timeout for a vault session. Honored only when it is at least the server's session timeout and at most 7 days (or the server timeout if that is longer); otherwise, and for server-level sessions, the server timeout applies. The effective value shows as SessionData.keep_alive_interval_in_seconds, which is half of it.

Response: ReloginResponse

Nested message fields are expanded to depth 2 only, to keep the page small (the full expansion has more rows); follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
session_dataSessionDataThe session. Use its session_id from now on.
session_data.session_idbytesThe session ID (48 bytes). Send it unchanged in the mfiles-session-id-bin metadata header of every call that needs a session.
session_data.account_namestringThe login account name, with the case stored on the server.
session_data.access_rightsSessionAccessWhat the session may do on server level and in the vault, regardless of object permissions.
session_data.server_vault_capabilitiesServerVaultCapabilitiesCapabilities of the server and, for vault sessions, the vault, as they apply to this user. More precise than GetServerCapabilities.
session_data.localeuint32The Windows locale ID used for sorting, for example 1033.
session_data.keep_alive_interval_in_secondsuint32Call KeepAlive at least this often. It is half of the session's idle timeout.
session_data.use_strict_set_equality_comparisonboolIf false, not equal type comparisons are performed in pre-MF11 style in which it is enough that at least one of the left-side values does not match any of the right-side values in order to treat the left and right values unequal. If true, none of the left-side values can match any of the right-side values in order to treat the left and right values unequal i.e. pure set-based exclusion. Prefer using the new comparison style. The old behavior is provided for compatibility reasons.
session_data.product_modeProductModeThe edition of the server license.Values: PRODUCT_MODE_FULL (0), PRODUCT_MODE_EXPRESS (1), PRODUCT_MODE_BUSINESS (2).
session_data.vault_dataVaultDataThe user's identity in the vault. Unset for a server-level session.
session_data.account_typeAccountTypeWhether the login account is an M-Files or a Windows account.Values: ACCOUNT_TYPE_UNINITIALIZED (0), ACCOUNT_TYPE_MFILES (1), ACCOUNT_TYPE_WINDOWS (2).
session_data.server_dataServerDataThe server's license serial number and deployment type.
session_data.license_typeLicenseTypeThe license the session uses.Values: LICENSE_TYPE_NONE (0), LICENSE_TYPE_NAMED_USER_LICENSE (1), LICENSE_TYPE_CONCURRENT_USER_LICENSE (2), LICENSE_TYPE_READ_ONLY_LICENSE (3), LICENSE_TYPE_VISITOR_LICENSE (4).
session_data.keep_upload_session_alive_interval_in_secondsuint32Keep a file upload session alive at least this often (half of the upload session timeout).