Function

ODNodeCopyRecord

Returns a reference to a record of a node.

Declaration

ODRecordRef ODNodeCopyRecord(ODNodeRef node, ODRecordType recordType, CFStringRef recordName, CFTypeRef attributes, CFErrorRef *error);

Parameters

inNode

The node.

inRecordType

The type of the record.

inRecordName

The name of the record.

inAttributes

An array of directory attributes to be copied in addition to the record. Can be NULL.

outError

An error reference for error details. Can be NULL.

Return Value

A reference to a specified record of inNode.

See Also

Working with Nodes

ODNodeCopyDetails

Returns a dictionary containing details about a node.

ODNodeCopySubnodeNames

Returns the names of subnodes for a given node.

ODNodeCopySupportedAttributes

Returns an array of attribute types supported by a given node.

ODNodeCopySupportedRecordTypes

Returns an array of the record types supported by a given node.

ODNodeCopyUnreachableSubnodeNames

Returns an array of the subnodes of a given node that are currently unreachable.

ODNodeCreateCopy

Returns a copy of an existing node.

ODNodeCreateRecord

Creates a record in a specified node with specified properties.

ODNodeCreateWithName

Returns a new node created with a specified name.

ODNodeCreateWithNodeType

Returns a new node created with a specified type.

ODNodeCustomCall

Returns the result of a custom call to a node.

ODNodeGetName

Returns the name of a node.

ODNodeGetTypeID

Returns the type ID for an Open Directory node.

ODNodeSetCredentials

Sets credentials for interacting with a node.

ODNodeSetCredentialsExtended

Sets credentials for interacting with a node using a specified authentication method.

ODNodeSetCredentialsUsingKerberosCache

Sets credentials for interacting with a node with the Kerberos cache.

Deprecated