Create a new plain-text username and password credential object.
The supplied credential parameter will be internally duplicated.
@param out_ The newly created credential object.
@param username The username of the credential.
@param password The password of the credential.
@return 0 for success or an error code for failure
Create a new plain-text username and password credential object. The supplied credential parameter will be internally duplicated.
@param out_ The newly created credential object. @param username The username of the credential. @param password The password of the credential. @return 0 for success or an error code for failure