Tagged Questions
2
votes
2answers
147 views
SPSite.RootWeb.AllProperties is null Claims Authentication
I just created a new WebApplication & Site Collection in sharepoint.
Note : WebApplication uses Claims Authentication mode, Custom Trusted Identity Provider for my application.
In powershell ...
1
vote
1answer
217 views
Get all webs with certain property value
If I have a certain number of webs within my site collection, and those web have set some property, eg. web.Properties["foo"] = "bar". I'd like to get list of all the webs which have property foo set ...
3
votes
1answer
454 views
Is accessing AllProperties efficient?
I'm currently storing a few values in the SPWeb.AllProperties hashtable. But I'm thinking of adding even more data into it. Before I start using it more and more though, I wondered if using ...
5
votes
2answers
911 views
Do I need to reset SPWeb.AllowUnsafeUpdates after use?
Do I need to reset the SPWeb.AllowUnsafeUpdates property after use?
Seems not, but all over the web there is code like:
bool allowUnsafeOrig = web.AllowUnsafeUpdates;
web.AllowUnsafeUpdates = true;
...