Share via


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.

See Also

Reference

SPObjectSecurity Members

Microsoft.SharePoint.Administration.AccessControl Namespace