M-Files API 22.6.11519.0
LogInToVaultAdministrative Method
MFilesServerApplication Object : LogInToVaultAdministrative Method
The GUID of the target vault.
Description
Logs in to the vault in administrative mode with the same credentials that were used to connect to the server. Must connect to the server first.
Syntax
Visual Basic
Public Function LogInToVaultAdministrative( _
   ByVal VaultGUID As String _
) As Vault
Parameters
VaultGUID
The GUID of the target vault.
Remarks

Works the same way as "LoginToVault" method, but with this method, login succeeds even when there is no user corresponding to the login account in the target vault. The login account used with this administrative vault login needs to be defined as "System administrator" in the server's login account properties.

See Also

MFilesServerApplication Object  | MFilesServerApplication Members