RAS_SetVPNSecurityProperties

Description

Setup the security properties for an existing RAS connection


Syntax

RAS_SetVPNSecurityProperties(sConnectionName, bUseCurrentCredentials, bDataEncryptionRequired) As Boolean


Parameters

sConnectionName (String)

A friendly name for the connection

bUseCurrentCredentials (Boolean)

Automatically use windows logon and password (and domain if any)

bDataEncrytionRequired (Boolean)

Require data encryption (and disconnect if none)


Example

VBScript
If bStatus Then bStatus = RAS_SetVPNSecurityProperties("ACME", True, True)

Scripting Guidelines


Related functions

RAS_SetTCPIPProperties RAS_SetUIProperties