Current user information:

id

Other user's information:

id username

Linux / Unix id Command Examples