Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SharePointPermission.ObjectModel property

Gets or sets a value indicating whether use of the SharePoint object model is allowed.

Namespace:  Microsoft.SharePoint.Security
Assembly:  Microsoft.SharePoint.Security (in Microsoft.SharePoint.Security.dll)

public bool ObjectModel { get; set; }

Property value

Type: System.Boolean
true if object model use is allowed; otherwise, false.
© 2015 Microsoft