M-Files API 23.11.13135.0
LogInAs Method
VaultConnection Object : LogInAs Method
Description
Logs in to the vault. Prompts the user for credentials.
Syntax
Visual Basic
Public Function LogInAs( _
   ByVal ParentWindow As Long, _
   ByVal DefaultAuthType As MFAuthType, _
   ByVal ReturnNULLIfCancelledByUser As Boolean _
) As Vault
Parameters
ParentWindow
DefaultAuthType
ValueDescription
MFAuthTypeLoggedOnWindowsUserWindows authentication with current user credentials.
MFAuthTypeSpecificMFilesUserM-Files authentication, user needs to specify the credentials.
MFAuthTypeSpecificWindowsUserWindows authentication, user needs to specify the credentials.
MFAuthTypeUnknownUnspecified authentication method.
ReturnNULLIfCancelledByUser
See Also

VaultConnection Object  | VaultConnection Members