Previous Topic: Creating the Script FileNext Topic: Security Considerations


Script File Example

The following sample code snippet demonstrates how to pass the ArcotID OTP account name and the password of a user to log them in to the VPN Client.

REM
REM Invoke the VPN client.
REM
"C:\Program Files\Cisco Systems\VPN Client\vpnclient" ^
connect OurProfile ^
user %CA_AUTH_PROP_account% ^
pwd %CA_AUTH_PROP_password%
REM
REM 200 means success
REM if %errorlevel% equ 200 exit 0
exit