Class

ODRecord

An ODRecord object serves as a Cocoa wrapper for an Open Directory record.

Declaration

@interface ODRecord : NSObject

Topics

Managing Authentication

- changePassword:toPassword:error:

Changes the record’s password.

- passwordPolicyAndReturnError:

Returns a dictionary containing the password policy for the record.

Deprecated
- setNodeCredentials:password:error:

Sets credentials for the record’s node.

- setNodeCredentialsUsingKerberosCache:error:

Sets the credentials for interaction with the record’s node using a Kerberos cache.

Deprecated
- setNodeCredentialsWithRecordType:authenticationType:authenticationItems:continueItems:context:error:

Sets the credentials for interaction with the record’s node using other types of authentication available to Open Directory.

- verifyExtendedWithAuthenticationType:authenticationItems:continueItems:context:error:

Verifies the credentials for interaction with the record’s node using other types of authentication available to Open Directory.

- verifyPassword:error:

Verifies the password for interaction with the record.

Managing Group Records

- addMemberRecord:error:

Adds a member record to this group record.

- isMemberRecord:error:

Determines whether a given record is a member of this group record.

- removeMemberRecord:error:

Removes a record as a member of this group record.

Managing Record Attributes

- addValue:toAttribute:error:

Adds a value to an attribute of the record.

- recordDetailsForAttributes:error:

Returns a dictionary of attributes with their respective values.

recordName

The official name of the record.

recordType

The record’s type.

- removeValuesForAttribute:error:

Removes all values from an attribute of the record.

- removeValue:fromAttribute:error:

Removes a value from an attribute of the record.

- setValue:forAttribute:error:

Sets the values of an attribute of the record.

- synchronizeAndReturnError:

Synchronizes the record from the directory to get current data and commit changes.

- valuesForAttribute:error:

Returns the values of an attribute of the record.

Deleting a Record

- deleteRecordAndReturnError:

Deletes the record from its node and invalidates it.

Relationships

Inherits From