RAS Function Reference

sRASSetParams

RAS Function Reference

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

<DllImport("SapphireRAS.dll")> _
Public Function sRASSetParams(ByVal sEntryName As String, ByVal sUsername As String, ByVal sPassword As String, ByVal sDomain As String) As Integer
End Function

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.