Logs in to the vault.
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 LogInAsUserEx( _ Optional ByVal AuthType As MFAuthType = MFAuthTypeLoggedOnWindowsUser, _ Optional ByVal UserName As Variant, _ Optional ByVal Password As Variant, _ Optional ByVal Domain As Variant, _ Optional ByVal TimeZone As TimeZoneInformation = 0, _ Optional ByVal AdditionalInfoAsJSON As String = "" _ ) 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. | 
The time zone. In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.