0
votes
1answer
40 views

Get Context through REST call

I know that in SharePoint 2013 with JavaScript, you can load the current context like so... var context = SP.ClientContext.get_current(); var user = context.get_web().get_currentUser(); ...
0
votes
1answer
327 views

get context login info

I see all kinds of code to get current SharePoint 2010 logged in user. (I guess current context user from the browser client). What is the best code? (not currently logged into machine user)