Logs in to the vault with the specified name (e.g., 'Sample Vault') using the specified credentials.
Visual Basic |
---|
Public Function LogInAsUser( _ ByVal VaultConnection As String, _ ByVal AuthType As MFAuthType, _ ByVal UserName As String, _ ByVal Password As String, _ Optional ByVal Domain As Variant, _ Optional ByVal SPN As Variant _ ) 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. |