No entry in /etc/passwd

I could not find an entry for my linux user account in /etc/passwd file. I can remember some time back one of my SA showed the entry line using some other command. Can someone please help me on this to view the details of my linux user account?

what type of details you want?
use

for details of the user.

I could see few details about the user using the id -a command. But i would like to know the few more details like, name of the user, shell type, home directory, uid, gid, tec., similar to the below

-sh-3.2$ grep sample /etc/passwd
sample:x:4901:6031:Sample user:/home/sample:/bin/sh

Got it. The below command address my requirement.

ypcat -k passwd | grep -i <username>