Contents

ODRecordSynchronize(_:_:)

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

Declaration

func ODRecordSynchronize(_ record: ODRecordRef!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Bool

Parameters

  • record:

    The record.

  • error:

    An error reference for error details. Can be NULL.

Return Value

true if the record is successfully synchronized; otherwise, false.

Discussion

This function refetches any attributes which have been fetched previously, but it does not fetch previously unfetched attributes.

See Also

Working with Records