Function

ODRecordContainsMember(_:_:_:)

Returns whether a group record contains a given record.

Declaration

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

Parameters

inGroup

The group record.

inMember

The record to check for membership in the group record..

outError

An error reference for error details. Can be NULL.

Return Value

true if inMember is a member of inGroup; false otherwise.

Discussion

This function uses system APIs instead of examining attributes to determine membership,

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.