– Open Directory approach
dscacheutil -q user
dscacheutil -q group
– Each Server approach
dscl localhost list /Local/Default/Users
dscl localhost list /LDAPv3/127.0.0.1/Users
[1]Stack Overflow: List of all users and groups
[2]Listing Open Directory Users on OS X Leopard Server
References
↑1 | Stack Overflow: List of all users and groups |
---|---|
↑2 | Listing Open Directory Users on OS X Leopard Server |