This documentation is archived and is not being maintained.

SharePointPermission.ObjectModel Property

Windows SharePoint Services 3

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.