Sets node authentication credentials for a given record.
- macOS 10.6+
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
true if the credentials are successfully set; otherwise,
If you want to set credentials for all references to a node, use
If this function fails, the previous credentials are used.