Returns the names of subnodes for a given node.
SDK
- macOS 10.6+
Framework
- Open
Directory
Returns the names of subnodes for a given node.
SDK
Framework
func ODNode Copy Details(ODNode Ref!, CFArray!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Unmanaged<CFDictionary>!
Returns a dictionary containing details about a node.
func ODNode Copy Record(ODNode Ref!, String!, CFString!, CFType Ref!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Unmanaged<ODRecord Ref>!
Returns a reference to a record of a node.
func ODNode Copy Supported Attributes(ODNode Ref!, String!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Unmanaged<CFArray>!
Returns an array of attribute types supported by a given node.
func ODNode Copy Supported Record Types(ODNode Ref!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Unmanaged<CFArray>!
Returns an array of the record types supported by a given node.
func ODNode Copy Unreachable Subnode Names(ODNode Ref!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Unmanaged<CFArray>!
Returns an array of the subnodes of a given node that are currently unreachable.
func ODNode Create Copy(CFAllocator!, ODNode Ref!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Unmanaged<ODNode Ref>!
Returns a copy of an existing node.
func ODNode Create Record(ODNode Ref!, String!, CFString!, CFDictionary!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Unmanaged<ODRecord Ref>!
Creates a record in a specified node with specified properties.
func ODNode Create With Name(CFAllocator!, ODSession Ref!, CFString!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Unmanaged<ODNode Ref>!
Returns a new node created with a specified name.
func ODNode Create With Node Type(CFAllocator!, ODSession Ref!, ODNode Type, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Unmanaged<ODNode Ref>!
Returns a new node created with a specified type.
func ODNode Custom Call(ODNode Ref!, CFIndex, CFData!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> CFData!
Returns the result of a custom call to a node.
func ODNode Get Name(ODNode Ref!) -> Unmanaged<CFString>!
Returns the name of a node.
func ODNode Get Type ID() -> CFType ID
Returns the type ID for an Open Directory node.
func ODNode Set Credentials(ODNode Ref!, String!, CFString!, CFString!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Bool
Sets credentials for interacting with a node.
func ODNode Set Credentials Extended(ODNode Ref!, String!, String!, CFArray!, Unsafe Mutable Pointer<Unmanaged<CFArray>?>!, Unsafe Mutable Pointer<Unmanaged<ODContext>?>!, Unsafe Mutable Pointer<Unmanaged<CFError>?>!) -> Bool
Sets credentials for interacting with a node using a specified authentication method.