On Mar 5, 2008, at 12:45 PM, Robert Everson wrote:
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?