Condividi tramite


SPSecurableObject Class

Represents the characteristics and behavior of an object that can be secured against unauthorized access.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPSecurableObject
    Microsoft.SharePoint.SPItem
    Microsoft.SharePoint.SPList
    Microsoft.SharePoint.SPWeb

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableExcludeInterfaceAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType, ExcludeInterface := GetType(ISecurableObject))> _
<ClientCallableTypeAttribute(Name := "SecurableObject", ServerTypeId := "{1B1BF348-994E-44FD-823F-0748F5AD94C8}")> _
<SubsetCallableTypeAttribute> _
Public MustInherit Class SPSecurableObject _
    Implements ISecurableObject
'Usage
Dim instance As SPSecurableObject
[SubsetCallableExcludeInterfaceAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType, ExcludeInterface = typeof(ISecurableObject))]
[ClientCallableTypeAttribute(Name = "SecurableObject", ServerTypeId = "{1B1BF348-994E-44FD-823F-0748F5AD94C8}")]
[SubsetCallableTypeAttribute]
public abstract class SPSecurableObject : ISecurableObject

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

SPSecurableObject Members

Microsoft.SharePoint Namespace

Other Resources

Authorization Object Relations

Role Assignments, Role Definitions, and Inheritance