SPPersistedObject.HasAdditionalUpdateAccess Method
SharePoint 2010
Override this method to allow more users to update the object.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)] protected virtual bool HasAdditionalUpdateAccess()
Return Value
Type: System.BooleanBoolean
true specifies that more users can update the object; otherwise, false. The default value is false.
Worked for me
Thanks, John for the suggestion. This resolved a problem I was having.
Do you think this is a bug in SharePoint 2010? I believe I am having another issue in a Feature Receiver that is updating attributes in the web.config. Not sure yet how to resolve that one since my feature receiver is not inheriting from SPPersistedObject.
Do you think this is a bug in SharePoint 2010? I believe I am having another issue in a Feature Receiver that is updating attributes in the web.config. Not sure yet how to resolve that one since my feature receiver is not inheriting from SPPersistedObject.
- 2/26/2010
- tim_coalson
Fixes Access denied in 2010
I was using a SPPersistedObject to store web application settings, and I was getting access denied errors. I checked all the normal problems (Farm admin, Config DB access) and they were all ok; but still I got the access denied error. I overrode this function and returned true, and the access problem went away and the control worked as expected.
