<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "OpenDirectory",
  "identifier" : "/documentation/OpenDirectory/ODRecordVerifyPasswordExtended(_:_:_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Open Directory"
    ],
    "preciseIdentifier" : "c:@F@ODRecordVerifyPasswordExtended"
  },
  "title" : "ODRecordVerifyPasswordExtended(_:_:_:_:_:_:)"
}
-->

# ODRecordVerifyPasswordExtended(_:_:_:_:_:_:)

Verifies a given password for a record given a specified authentication method.

```
func ODRecordVerifyPasswordExtended(_ record: ODRecordRef!, _ authType: String!, _ authItems: CFArray!, _ outAuthItems: UnsafeMutablePointer<Unmanaged<CFArray>?>!, _ outContext: UnsafeMutablePointer<Unmanaged<ODContextRef>?>!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Bool
```

## Parameters

`record`

The record.

`authType`

The type of authentication to use.

`authItems`

An array of `CFString` or `CFData` objects to be used in the authentication process.

`outAuthItems`

An array of `CFData` objects returned from the authentication process, if any are returned; `NULL` otherwise.

`outContext`

The proper context if the authentication attempt requires a context; `NULL` otherwise. If not `NULL`, then more calls must be made with the Context to continue the authentication.

`error`

An error reference for error details. Can be `NULL`.

## Return Value

`true` if the authentication information is valid; otherwise, `false`.

## See Also

[Authentication Types](/documentation/OpenDirectory/authentication-types)

Types of authentication available in Open Directory.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)