1

Is there a way (without SP Designer) that I can display the name of the user that is currently logged in on my team's homepage?

  • What sharepoint version are you referring? Do you have the freedom to deploy any custom components? – Vivek Nov 16 '10 at 7:25
  • Hi Vivek, I'm using MOSS 2007 Basic. If you are talking about Server Installed components then no; if you mean custom webparts through CEWPs/uploading .dwps etc then yes. – Rob Nov 16 '10 at 8:40
3

You can use the current user object to get the name:

SPContext.Current.Web.CurrentUser.Name

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy