Contents

ODRecordChangePassword(_:_:_:_:)

Changes the password of a record.

Declaration

func ODRecordChangePassword(_ record: ODRecordRef!, _ oldPassword: CFString!, _ newPassword: CFString!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Bool

Parameters

  • record:

    The record.

  • oldPassword:

    The record’s old password. Pass NULL if the record has no old password.

  • newPassword:

    The record’s new password.

  • error:

    An error reference for error details. Can be NULL.

Return Value

true if the password is successfully changed; false otherwise.

See Also

Working with Records