Logs in to the vault as a user. Must connect to the server first.
The time zone. In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
| Visual Basic | 
|---|
Public Function LogInAsUserToVault( _ ByVal VaultGUID As String, _ Optional ByVal TimeZone As TimeZoneInformation = 0, _ Optional ByVal AuthType As MFAuthType = MFAuthTypeLoggedOnWindowsUser, _ Optional ByVal UserName As Variant, _ Optional ByVal Password As Variant, _ Optional ByVal Domain As Variant _ ) As Vault  | 
The time zone. In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
| Value | Description | 
|---|---|
| MFAuthTypeLoggedOnWindowsUser | Windows authentication with current user credentials. | 
| MFAuthTypeSpecificMFilesUser | M-Files authentication, user needs to specify the credentials. | 
| MFAuthTypeSpecificWindowsUser | Windows authentication, user needs to specify the credentials. | 
| MFAuthTypeUnknown | Unspecified authentication method. |