SPObjectSecurity class
Represents the security settings for an object.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.AccessControl.SPObjectSecurity
Microsoft.SharePoint.Administration.AccessControl.SPAclSecurity<TAccessRightsEnum>
Namespace: Microsoft.SharePoint.Administration.AccessControl
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPObjectSecurity
'Usage
Dim instance As SPObjectSecurity
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPObjectSecurity
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.