Credentials

View as Markdown

User name and password for AUTH_DATA_TYPE_CREDENTIALS. Sent as plain text, so use TLS.

Full nameMFiles.Credentials
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
usernamestring1The login account name. Required; empty fails with E_INVALIDARG. For Windows accounts it may include the domain as DOMAIN\user.
passwordstring2The password as entered.
domainstring3Windows accounts only. When empty, the domain is taken from username, then from the server's domain, then the server computer's local accounts are used.
typeCredentialsType4The kind of account. CREDENTIALS_TYPE_MFILES for M-Files accounts, CREDENTIALS_TYPE_WINDOWS for Windows accounts; CREDENTIALS_TYPE_AUTOMATIC (and the unset value) tries M-Files first, then Windows.Values: CREDENTIALS_TYPE_UNINITIALIZED (0), CREDENTIALS_TYPE_MFILES (1), CREDENTIALS_TYPE_WINDOWS (2), CREDENTIALS_TYPE_AUTOMATIC (3).

Used in fields