SessionInfoServer

View as Markdown

Information about a session, as returned by CreateUserSession and in VaultConnectionInfo.

Full nameMFiles.SessionInfoServer
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
session_idbytes1Session ID when the login process has been completed successfully.
keep_alive_interval_in_secondsuint322The number of seconds that can pass between KeepAlive calls before MFServer closes the session.
user_idint323The M-Files Account ID of the logged-in user.
account_namestring4The M-Files Account name of the logged-in user.
session_access_rightsSessionAccess5The access rights of this session.
substitute_usersrepeated UserOrUserGroupID6The user ID of this session's account, as well as the users for which the user is a substitute. The first ID in the vector is the user ID. Others are the IDs of the users for which the user is a substitute.
user_and_group_membershipsrepeated UserOrUserGroupID7The user ID of this session's account, as well as the groups to which the user belongs either directly or indirectly. The first ID in the vector is the user ID. Others are group IDs.
is_internal_userbool8Is the user an internal user?
use_strict_set_equality_comparisonbool9If 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.
product_modeProductMode10Product mode.Values: PRODUCT_MODE_FULL (0), PRODUCT_MODE_EXPRESS (1), PRODUCT_MODE_BUSINESS (2).
languageLanguage11The user's language in the vault. The code and the name may be empty.
timezonebytes12The serialized time zone information (TIME_ZONE_INFORMATION) of this session.
client_culturestring13The client software culture for this session.
acl_modeACLMode14The ACL mode of the vault. Ignore it for a session that is not a vault session.Values: ACLMODE_SIMPLE (0), ACLMODE_COMPONENT_BASED (1).
license_typeLicenseType15The license type of the logged-in user.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).
keep_upload_session_alive_interval_in_secondsuint3216Keep a file upload session alive at least this often.

Used by methods

Used in fields