Logs in to the vault with specified credentials and SPN.
In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
Visual Basic |
---|
Public Function LogInAsUserWithSPN( _ Optional ByVal AuthType As MFAuthType = MFAuthTypeLoggedOnWindowsUser, _ Optional ByVal UserName As Variant, _ Optional ByVal Password As Variant, _ Optional ByVal Domain As Variant, _ Optional ByVal SPN As Variant, _ Optional ByVal TimeZone As TimeZoneInformation = 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. |
In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.