Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone know where I can find documentation on the various properties available for directory services on the Mac?

man dscl only tells me that I can -create or -read a record. It doesn't tell me how to create them; what properties are available and the options can be set on each. I know a few (RealName, UniqueID, PrimaryGroupID, UserShell) but where can I find documentation on all of them?

share|improve this question
up vote 1 down vote accepted

There is a document from Apple called "Mac OS X Server Open Directory Administration For Version 10.4 or Later".

Read Appendix "Mac OS X Directory Data", it contains all what you ask about:

  • "Standard Attributes in Group Records" at page 222
  • "Standard Attributes in User Records" at page 217

Here is excerpt from the last one:

open directory attributes

You can get this document here.

There are a lot of newer documents on Apple site (haven't seen them yet). They may be useful to.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.