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.
Show:
© 2015 Microsoft