M-Files API 23.11.13135.0
LogInAsUserToVaultEx2 Method
MFilesServerApplication Object : LogInAsUserToVaultEx2 Method
Description
Logs in to the vault as a user. Must connect to the server first.
Syntax
Visual Basic
Public Function LogInAsUserToVaultEx2( _
   ByVal VaultGUID As String, _
   Optional ByVal TimeZone As TimeZoneInformation = 0, _
   Optional ByVal AuthType As MFAuthType = MFAuthTypeLoggedOnWindowsUser, _
   Optional ByVal UserName As Variant, _
   Optional ByVal Password As Variant, _
   Optional ByVal Domain As Variant, _
   Optional ByVal ClientSessionTimeout As ULong = 0 _
) As Vault
Parameters
VaultGUID
TimeZone
AuthType
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.
UserName
Password
Domain
ClientSessionTimeout
See Also

MFilesServerApplication Object  | MFilesServerApplication Members