LoginWindowsUser

<< Click to Display Table of Contents >>

 

LoginWindowsUser

LoginWindowsUser([UserName], [UserPassword], [OpStatus])

This method executes a login operation using a Windows user without displaying any message. The optional parameter UserName is the user's name and the optional parameter UserPassword is this user's password. The optional return parameter OpStatus is a map of bits indicating the status of this operation. This method returns a Boolean indicating whether this operation failed or not. Please check table Possible return values for the OpStatus parameter in the LoginUser method for more information about possible values in case of failure. If the user name is omitted, the login operation is executed with the current Windows user.

Was this page useful?