Reputation
22,816
Next tag badge:
75/100 score
39/20 answers
Badges
1 28 63
Newest
 Enlightened
Impact
~1.3m people reached

May
15
comment SiteCollection Feature Upgrade Access Denied for Farm Admin
Note that RunWithElevated has no function within powershell. It's purpose is to revert the impersonated user back to the process identity. In a web application, this is the application pool identity. In Powershell, there is no impersonation.
May
11
answered SharePoint 2013 - Unique permissions for claims
Apr
25
comment Hide “Site Actions” -> “View All Site Content” in a 2010 Publishing Site
We prefer not to post links as answers here, as they'll never be around forever. Rather, summarise the steps in the post, and provide a link as source.
Apr
20
accepted Event Receiver AfterProperties not setting when item adding in code
Apr
17
answered Event Receiver AfterProperties not setting when item adding in code
Apr
15
revised Event Receiver AfterProperties not setting when item adding in code
added 818 characters in body
Apr
15
revised Event Receiver AfterProperties not setting when item adding in code
[Edit removed during grace period]
Apr
15
revised Event Receiver AfterProperties not setting when item adding in code
added 49 characters in body
Apr
15
asked Event Receiver AfterProperties not setting when item adding in code
Apr
2
awarded  Enlightened
Apr
2
awarded  Nice Answer
Mar
25
comment How to obtain the HTML source for mysite.master?
Unfortunately not. The Design Manager stuff converts HTML to master but not the other way round. Even if you did get back to HTML, SharePoint can't do anything with it without Design Manager.
Mar
25
comment Lookups are empty
Sounds there's an event receiver on that list doing something with ContentType B.
Mar
24
awarded  Yearling
Mar
23
comment how to POST to sharepoint 2013 using php curl
Troubleshoot this in the browser first, or using a chrome plugin like Postman to build your REST query, get it working there then try to recreate it in curl.
Mar
23
comment Lookups are empty
What exception do you get?
Mar
23
answered How to obtain the HTML source for mysite.master?
Mar
23
answered How to get SP.File from _layouts/…/images/
Mar
18
comment Get SPWeb by ID without Site Collection?
Also, unless your code absolutely has to run as the Application Pool service account, then call new SPSite(fullPath, SPUserToken.SystemAccount) instead, without the SPSecurity.RunWithElevatedPrivileges
Mar
18
comment Get SPWeb by ID without Site Collection?
When you pass http://server/subsite to SPSite, then calling OpenWeb() will be in the context of /subsite. No need to go to AllWebs, which could be slow to enumerate if there are thousands.