M-Files API 23.11.13135.0
LogInAs Method
MFilesClientApplication Object : LogInAs Method
Description
Logs in to the vault with the specified name (e.g., 'Sample Vault'). Prompts the user for credentials.
Syntax
Visual Basic
Public Function LogInAs( _
   ByVal VaultConnection As String, _
   ByVal ParentWindow As Long, _
   ByVal DefaultAuthType As MFAuthType, _
   ByVal ReturnNULLIfCancelledByUser As Boolean _
) As Vault
Parameters
VaultConnection
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

MFilesClientApplication Object  | MFilesClientApplication Members