Need to find the user id of all users in UNIX

I need to find all the unix user id's of all the users in unix... is there any such command... pl help out

y dont u take a look at the /etc/passwd ?

or command

id username

?

No, i need the list of user id in unix totally.. avoiding duplicates

I suppose you want a thing like this

awk -F: '{ print $1, $3; }' /etc/passwd

no dude... i need the ldap id's off all the user's in my organisation

It would have been helpful if you had told us this in the first place instead of wasting peoples time. We are not mind readers! The more information you supply in your initial post the faster and better answer you will get.

dats y i had to post again dude... sorry... pls help out in this