Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Listing Names from ODM



I'm trying to get a list of the Names of users on my ODM, and then filter that by certain criteria. This might be best explained by an example.

I have three users, diradmin, test_user_09, test_user1_08. The login names for these accounts are diradmin, test_user, and test_user1, respectively.

I would like to filter by the _09, much like I can in WorkGroup Manager, but I would like to do this from the terminal so that I can pipe this to a file and send it to the correct faculty members for review.

When I use dscl, I can only seem to get the test_user, not the test_user_09, is there some command that will get the Name, or some function that I can run on each record to return the Name?

Thanks,
Robert Everson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.