Using DirectoryServices to access NetInfo
Using DirectoryServices to access NetInfo
- Subject: Using DirectoryServices to access NetInfo
- From: email@hidden (mikevannorsdel)
- Date: Sun, 16 Dec 2001 19:58:08 -0700
I need to read from NetInfo's database. Specifically I need to get a list
of users and their corresponding IDs. From what I understand, this could
once be done with the NIAccess framework. That, however, seems to have gone
private. I'm told that DirectoryServices is to be the replacement, but its
APIs seem unruly. I want to avoid using nicl if possible. What is the
basic code form for accessing an NI directory listing using
DirectoryServices? I did read the docs on DS, by there are so many new
types and functions that take several arguments, it's hard to determine the
right way to do this.