I have a users domain and user id. I would like to retrieve the full user name. The data is coming from a SQL table for display onto an asp.net page. Anyone know how to get the users name for someone other then the user who is using the asp.net application?

>Anyone know how to get the users name for someone other then the user who is using the asp.net application?

name=HttpContext.Current.User.Identity.Name

>Anyone know how to get the users name for someone other then the user who is using the asp.net application?

name=HttpContext.Current.User.Identity.Name

As I stated, the users domain and user id values are stored in a database and it is not just the user currently using the program that I am trying to get the full name for, so the code given will not work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.