This topic has not yet been rated Rate this topic

SPPersistedObject.HasAdditionalUpdateAccess Method

SharePoint 2010

Override this method to allow more users to update the object.

Namespace:  Microsoft.SharePoint.Administration
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.Boolean
Boolean
true specifies that more users can update the object; otherwise, false. The default value is false.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
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.
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.