Returns the value of a single attribute of a record.
- macOS 10.6+
An error reference for error details. Can be
The value of the requested attribute, or
NULL if the attribute doesn’t exist.
If the requested attribute has not been fetched before, it is fetched in order to return its value. If the record has been fetched before, internal storage is consulted instead of the directory.