Authenticationtype, Script – Milestone Smart Client 3.6 User Manual

Page 52

Advertising
background image

Milestone XProtect Smart Client 3.6; User’s Manual

AuthenticationType

Refers to one of Smart Client's three possible authentication methods: Windows authentication

(current user) (called WindowsDefault in startup scripts), Windows authentication (called Windows
in startup scripts), or Basic authentication (called Simple in the startup scripts).

The following example would show the Smart Client’s login dialog with http://ourserver in the
dialog’s Server address field, Basic authentication selected in the dialog’s Authentication field,

Tommy in the dialog’s User name field, and T0mMy5Pa55w0rD (masked by asterisks) in the

dialog’s Password field:

Client.exe –ServerAddress=

"http://ourserver" -UserName "Tommy" -Password

"T0mMy5Pa55w0rD" -AuthenticationType Simple

From the user’s point of view, the login dialog would look like this:


If we were to use Windows authentication, the example would be:

Client.exe –ServerAddress=

"http://ourserver" -UserName "Tommy" -Password

"T0mMy5Pa55w0rD" -AuthenticationType Windows

If we were to use Windows authentication (current user), the UserName and Password parameters
would not be necessary, and the example would look like this:

Client.exe –ServerAddress=

"http://ourserver" -AuthenticationType

WindowsDefault

Script

Refers to a full path to an .scs script (a script type targeted at controlling the Smart Client). The

following example uses an .scs script to login:

Client.exe -Script c:\startup.scs

Example of an .scs script for logging in to http://ourserver with the current Windows user:

<ScriptEngine>
<Login>
<ServerAddress>http://ourserver</ServerAddress>
<AuthenticationType>WindowsDefault</AuthenticationType>
</Login>
</ScriptEngine>

You are able to use many of the Smart Client’s function calls (see Viewing a List of Possible
Function Calls
elsewhere in this topic) to add further functionality to .scs scripts.

www.milestonesys.com Page

52 Further

Configuration

Advertising