DirectoryService is a legacy C interface to the macOS Open Directory/DirectoryService system, used to query directory nodes, users, and authentication data. With it you locate and read directory records, applying pattern matches through tDirPatternMatch and exchanging data through buffer and list types such as tDataBuffer and tDataList. Results arrive as record and attribute structures including tRecordEntry, tAttributeEntry, and tAttributeValueEntry, while tAccessControlEntry describes access control and tDirStatus reports the outcome of each call. This framework is available on macOS.
Status and Pattern Matching 2
Types that report the outcome of a directory call and control how record patterns are matched.
- SttDirStatus@enum tDirStatus
- SttDirPatternMatchConstants that specify how record names and patterns are matched during a directory query.
Data Exchange Buffers 2
Buffer and list types used to pass data into and receive results from the DirectoryService API.
- SttDataBufferA buffer structure used to exchange variable-length data with the DirectoryService API.
- SttDataListA structure that holds an ordered list of data items passed to or returned from the directory.
Records and Attributes 3
Structures that describe directory records along with their attributes and attribute values.
- SttRecordEntryA structure that describes a single directory record returned from a query.
- SttAttributeEntryA structure that describes an attribute associated with a directory record.
- SttAttributeValueEntryA structure that holds a single value of a directory record attribute.
Access Control 1
A structure that describes an access control entry within the directory.
- SttAccessControlEntryA structure that describes an access control entry governing access to a directory record.
Type Aliases 23
- TyOptionBits
- TyFourCharCode
- TytDirReference
- TytDirNodeReference
- TytClientData
- TytBuffer
- TytContextData
- TytDataBufferPtr
- TytDataNode
- TytDataNodePtr
- TytDataListPtr
- TytAccessControlEntryPtr
- TytAttributeValueEntryPtr
- TytAttributeValueListRef
- TytAttributeEntryPtr
- TytAttributeListRef
Show 7 more
- TytRecordEntryPtr
- TytRecordReference
- TyfpCustomAllocate
- TyfpCustomDeAllocate
- TyfpCustomThreadBlock
- TyfpCustomThreadUnBlock
- TyfpCustomThreadYield