How to get the logged on users name from a SharePoint page using javascript
September 12th, 2011
Often I have wanted to get the user’s name, or other user properties, when a SharePoint user hits my site. Instead of writing code against the SharePoint object model within a custom web part, there are two additional methods to consider if you are trying to accomplish the same thing. One is to look at the source of the page to find the element that contains this information, or to query the SharePoint web services.
