Instance Method

recordDetailsForAttributes:error:

Returns a dictionary of attributes with their respective values.

Declaration

- (NSDictionary *)recordDetailsForAttributes:(NSArray *)inAttributes error:(NSError **)outError;

Parameters

inAttributes

An array of attributes. Can be nil.

outError

An error reference for error details. Can be nil.

Return Value

A dictionary of the attributes in inAttributes with their respective values.

Discussion

If inAttributes is nil, all currently retrieved attributes are returned.

See Also

Managing Record Attributes

- addValue:toAttribute:error:

Adds a value to an attribute of the record.

recordName

The official name of the record.

recordType

The record’s type.

- removeValuesForAttribute:error:

Removes all values from an attribute of the record.

- removeValue:fromAttribute:error:

Removes a value from an attribute of the record.

- setValue:forAttribute:error:

Sets the values of an attribute of the record.

- synchronizeAndReturnError:

Synchronizes the record from the directory to get current data and commit changes.

- valuesForAttribute:error:

Returns the values of an attribute of the record.