Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Fetching Logged in User Name from session

  Asked By: Devan    Date: Dec 24    Category: Sharepoint    Views: 1939

I am looking forward to know the way (Code) how I can fetch the logged in User

We have created an .aspx application and we are integrating it in sharepoint.
This application requires the logged in user name for using in the application.

As I understand, the logged in user name is available in the top bread crumb
of sharepoint. I would like to have assistance from this discussion-group to get
the user name into our application.



1 Answer Found

Answer #1    Answered By: Kai Carney     Answered On: Dec 24

In web-page, following line gives, the context user  name( This provides gives
us, including domain name).


Didn't find what you were looking for? Find more on Fetching Logged in User Name from session Or get search suggestion and latest updates.