In SharePoint, when I need to perform an action when the user does not have permission to do this, I use:
SPSecurity.RunWithElevatedPrivileges(delegate()
{
});
But now I need to run JavaScript with elevated privileges:
var context = new SP.ClientContext.get_current();
context.executeQueryAsync();
Is it possible?
source
share