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?

SPArcheon
  • 6,868
  • 1
  • 30
  • 47
  • What sharepoint version are you referring? Do you have the freedom to deploy any custom components? – Vivek Nov 16 '10 at 07: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. –  Nov 16 '10 at 08:40

1 Answers1

3

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

SPContext.Current.Web.CurrentUser.Name

Sean Regan
  • 277
  • 2
  • 8