ODRecordCopyValues(_:_:_:)
Returns the value of a single attribute of a record.
Declaration
func ODRecordCopyValues(_ record: ODRecordRef!, _ attribute: String!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<CFArray>!Parameters
- record:
The record.
- attribute:
The attribute.
- error:
An error reference for error details. Can be
NULL.
Return Value
The value of the requested attribute, or NULL if the attribute doesn’t exist.
Discussion
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.
See Also
Working with Records
ODRecordAddMember(_:_:_:)ODRecordAddValue(_:_:_:_:)ODRecordChangePassword(_:_:_:_:)ODRecordContainsMember(_:_:_:)ODRecordCopyDetails(_:_:_:)ODRecordDelete(_:_:)ODRecordGetRecordName(_:)ODRecordGetRecordType(_:)ODRecordGetTypeID()ODRecordRemoveMember(_:_:_:)ODRecordRemoveValue(_:_:_:_:)ODRecordSetNodeCredentials(_:_:_:_:)ODRecordSetNodeCredentialsExtended(_:_:_:_:_:_:_:)ODRecordSetValue(_:_:_:_:)ODRecordSynchronize(_:_:)