Logs in to the vault as a user. Must connect to the server first.
| Visual Basic |
|---|
Public Function LogInAsUserToVaultEx2( _ 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, _ Optional ByVal ClientSessionTimeout As ULong = 0 _ ) As Vault |
| 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. |