Function

ODRecordVerifyPassword(_:_:_:)

Verifies a given password for a record.

Declaration

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

Parameters

inRecord

The record.

inPassword

The password.

outError

An error reference for error details. Can be NULL.

Return Value

true if the password is valid; otherwise, false.

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.