At a minimum, an application must set the connection properties that specify the connection’s user name (CS_USERNAME) and allow the server to authenticate the user’s identity. Servers can confirm a user’s identity in two ways:
By requiring a valid password
By using network-based user authentication
If the server requires a password, then the application must set the CS_PASSWORD property to the value of the user’s server password.
See the “Security Features” topics page in the Open Client Client-Library/C Reference Manual.