Khyati, SDM usually does not have user password info unless you use pin authentication. So there is no way you can display user password unless you use pin authentication. Even you use pin authentication you would need to re-consider if display "password" on the page is a good idea. Anyway, in order to help out with details, the following would need:
--do you use pin authentication
--on what page you want to display the user name (and password, if possible). And what user you refer to here as so many contacts are associated with a ticket(assignee, logged in user, requester etc)
Thanks _Chi