Function

ODRecordAddMember(_:_:_:)

Adds a record as a member of a group record.

Declaration

func ODRecordAddMember(_ group: ODRecordRef!, _ member: ODRecordRef!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Bool

Parameters

inGroup

The group record.

inMember

The record to add.

outError

An error reference for error details. Can be NULL.

Return Value

true if the record is successfully added; false otherwise.

Discussion

Returns an error if inGroup is not a group record or if inMember is not of a type allowed in a group record.

See Also

Working with Records

func ODRecordGetTypeID() -> CFTypeID

Returns the type ID for a record.

func ODRecordSynchronize(ODRecordRef!, UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Bool

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