Tobias Zimmergren 4/9/2008

Tip: RequestAccessEnabled programatically using the SharePoint Object Model

Read Original

This article describes a workaround for enabling the 'Request Access' feature in SharePoint sites programmatically via the SharePoint Object Model. The author found that the documented property 'web.RequestAccessEnabled' is read-only, contrary to MSDN claims. Instead, setting the 'web.RequestAccessEmail' property automatically enables access requests and specifies the email recipient. This tip is useful for developers dynamically creating SharePoint sites and needing to automate permission settings.

Tip: RequestAccessEnabled programatically using the SharePoint Object Model

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet