First of all use windows authentication and then use the Sql code i posted in my last reply ( loginname) that can help you.
if still have any problem,post it.
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)