Login

View as Markdown

Struct for a login.

Full nameMFiles.Login
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
account_typeAccountType1Account type (e.g. M-Files or Windows).Values: ACCOUNT_TYPE_UNINITIALIZED (0), ACCOUNT_TYPE_MFILES (1), ACCOUNT_TYPE_WINDOWS (2).
domain_namestring2Domain name, if acctype is eAccountTypeWindows. Otherwise unset.
user_namestring3User name. Cannot be unset.
optionsSRVROLES4Bitmask of the server roles of the login.
full_namestring5The full name of the user. May be unset.
email_addressstring6The email address of the user. May be unset.
license_typeLicenseType7License type.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).
credential_typeCredentialType8Credential type.Values: CREDENTIAL_TYPE_USER (0), CREDENTIAL_TYPE_TECHNICAL (1).
client_idstring9Client ID, if credentialtype is eCredentialTypeTechnical. Otherwise unset.
external_idstring10The user identity in external system, such as Microsoft Entra (where the identity is a GUID).

Used by methods

Used in fields