Verifies a given password for a record.
SDK
- macOS 10.6+
Framework
- Open
Directory
Declaration
func ODRecordVerifyPassword(_ record: ODRecord Ref!, _ password: CFString!, _ error: Unsafe Mutable Pointer<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
.