RAS Function Reference

sRASSetParams

RAS Function Reference

This function sets the username, password and domain fror the specified connection.

Declare Function sRASSetParams Lib "SapphireRAS.dll" (ByVal sEntryName As String, ByVal sUsername As String, ByVal sPassword As String, ByVal sDomain As String) As Long

Parameters

  sEntryName
    A string specifying the existing connection entry name.
  sUsername
    A string specifying the username.
  sPassword
    A string specifying the password.
  sDomain
    A string specifying the domain.

Return Values

  Returns a number indicating success or failure where 0 is successful. Use sRASErrMsg to get a string version of the error message.