To display another user's ID, you can use the id command followed by the username. For example, to check the ID of a user named npc, you would run:
id npc
Example Output:
uid=1001(npc) gid=1001(npcgroup) groups=1001(npcgroup),...
This will show the user ID (UID), primary group ID (GID), and the groups that the user npc belongs to. If you have any further questions, let me know!
