Required connection properties

At a minimum, an application must set the connection properties that specify the connection’s username (SMC_PROP_USERNAME) and allow the server to authenticate the user’s identity by requiring a valid password. If the server requires a password, then the application must set the SMC_PROP_PASSWORD property to the value of the user’s server password.

See the code sample on page 17.