Vault login accounts (IRPCVaultLoginsAdmin)

View as Markdown

Manages vault login accounts: login accounts stored in one vault, used on servers that have vault login accounts enabled, such as M-Files Cloud.

Use this interface to add, modify and delete vault logins.

gRPC serviceMFiles.IRPCVaultLoginsAdmin
Book and levelAdministration API, specialized
Methods17
Proto filemfiles/IRPCVaultLoginsAdmin.proto

Overview

A login account is what a person or application authenticates with: account type (M-Files or Windows), user name, password, license type, full name and email (Login). Normally login accounts belong to the server and are managed by system administrators with IRPCLoginsAdmin. On a server with vault login accounts enabled, each vault keeps its own login accounts in the vault, and vault administrators manage them with this service. Either way, a login needs a user account in the vault (IRPCUsersAdmin) to use the vault; see the table in the IRPCUsersAdmin overview.

Methods by task (the server-level equivalents are in IRPCLoginsAdmin):

Typical provisioning on such a server: AddVaultLogin, then AddUser with login_name set to the new login's account name.

Methods

MethodSummaryFacts
AddVaultLoginAdds a login account to the vault.admin session
CreateVaultLoginPasswordResetRequestCreates a password reset link for an M-Files login of the vault, and optionally emails it to the login's email address.admin session
ForceLogoutVaultLoginSessionsLogs out all sessions of the given login accounts in this vault.admin session
GetAllDomainsInVaultLists the domains whose accounts can be imported: the server's own domain and the domains it can reach.admin session idempotent
GetFullNameAndEmailInVaultLooks up the full name and email address of a Windows account in the directory.admin session idempotent
GetOrganizationalUnitsForDomainInVaultLists the organizational units of a domain.admin session idempotent
GetVaultLoginGets one vault login by account name.admin session
GetVaultLoginPasswordHashReads the password hash of a vault login, encrypted with a public key that the caller supplies.admin session idempotent
GetVaultLoginsGets all login accounts stored in the vault.admin session idempotent
GetVaultLoginsWithSessionsGets the login accounts that currently have sessions to this vault.admin session idempotent
GetWindowsGroupMembersInVaultLists the users and groups that are members of a Windows group.admin session idempotent
GetWindowsGroupsInVaultLists Windows groups of the server's domains, for importing users by group.admin session idempotent
ModifyVaultLoginChanges the server roles, password, full name, email address or license type of a vault login.admin session idempotent
ModifyVaultLoginExReplaces the data of a vault login, optionally including its account name.admin session
RemoveVaultLoginRemoves a login account from the vault.admin session
ResetVaultLoginPasswordSets a new password for a vault login, authorized by a password reset link.admin session
SetVaultLoginPasswordHashSets the password of a vault login from a password hash.admin session idempotent