top of page

SharePoint 2010 Get Current Username / Logged in User

Update 05/12/2011 As my colleague Colin pointed out - the name that appears on the top right can really be anything and can change - for example if a user gets married and their name changes. A better approach would be to retireve the value programmatically using SPServices ($%28%29.SPServices.SPGetCurrentUser ). As of version v0.6.1, you can also request the ID of the user by specifying fieldName: "ID". Much more stable to use in most scenarios: $().SPServices.SPGetCurrentUser({ fieldName: "ID", debug: false });

3 views0 comments

Recent Posts

See All

Archetonomy Mega Drop Down Review

The Mega menus concept Now, mega menus are probably well familiar to anyone and everyone by now- it was an up and coming design trend back in the late 2000's. Old hat - but let's review the fundamenta


bottom of page