SetWindowsAuthentication

Sets whether to use Windows Authentication to connect to the Fax server.

Member of namespace

OpenTextFaxServer

Syntax

bool SetWindowsAuthentication (bool UseWindowsAuthentication)

Parameters

UseWindowsAuthentication
Type: bool

Parameters

Sets whether or not to use Windows Authentication to connect to the fax server. The default value is False.
  • True : Windows Authentication will be used. The actions SetUserID() and SetUserPassword() are not required when UseWindowsAuthentication is set to True.
  • False : Fax Server user authentication will be used. The actions SetUserID() and SetUserPassword() are required when UseWindowsAuthentication is set to False.

The default value is False.

Returns

False if the action is not called at the batch level. Otherwise, True.

Level

Batch Level.

Details

Include this action before a ImportFaxes() or Connect() action.
Example
SetServerName("myserver")
SetWindowsAuthentication(True)
SetProtocol(4)
Connect()
ImportFaxes()