Sets credentials for interacting with the node.
- macOS 10.6+
The record type that uses the credentials. Can be
nil. The default value is
ODRecord Type Users
The username to use to authenticate with the node.
The password to use to authenticate with the node.
An error reference for error details. Can be
YES if the credentials are successfully set; otherwise,
If this function fails, the previous credentials for the node are used.