Skip to main content
OCLC Support

Log on

Find the syntax, use, parameters, return values, and an example for the Log on macro command in Connexion client.
Syntax BOOL= CS.Logon (sAuthorization, sPassword, sLevel)
Use to Log on to OCLC Connexion.

Same as using the File > Logon menu command, except that the Welcome window is not displayed after logon is completed.
Parameters
  • For sAuthorization, enter your OCLC authorization number (in the format 123- 456-789 or 123456789) enclosed in quotation marks (“).
  • For sPassword, enter your OCLC password enclosed in quotations marks (“).

     Note: Leave sAuthorization and sPassword blank to use your default authorization and password as selected in Tools > Options > Authorizations tab. Enter only a set of quotation marks for each parameter.

  • For sLevel, leave blank. Enter only a set of quotation marks. This parameter may be implemented in the future.
Return values TRUE if logon is successful, or FALSE if not.
Example Sub Main()
     Dim CS As Object
     Set CS = GetObject(“Connex.Client”)
     If CS.Logon(““, ““, ““) = True Then
     MsgBox “Logon successful”
End If End Sub
What this example does
  • Logs on using the default authorization and password you selected in Tools > Options > Authorizations tab
  • If logon is successful, returns the message: Logon successful.