Condividi tramite


SPSecurableObject Members

Include Protected Members
Include Inherited Members

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

The SPSecurableObject type exposes the following members.

Constructors

  Name Description
Protected method SPSecurableObject Allows the base class to perform initialization tasks when instances of a derived class are created.

Top

Properties

  Name Description
Public property AllRolesForCurrentUser Gets a full list of role definitions on the object to which the current user belongs on this scope.
Public property EffectiveBasePermissions Gets a value that indicates the current user's effective permissions on the object.
Public property FirstUniqueAncestor Obsolete. Use the FirstUniqueAncestorSecurableObject property instead.
Public property FirstUniqueAncestorSecurableObject Gets the object where role assignments for this object are defined.
Public property HasUniqueRoleAssignments Indicates whether the object has unique role assignments or inherits its role assignments from a parent object.
Public property ReusableAcl Gets an opaque object that represents the raw access control list (ACL) information for the object.
Public property RoleAssignments Gets the role assignments for this securable object.

Top

Methods

  Name Description
Public method BreakRoleInheritance(Boolean) Creates unique role assignments for the object and optionally copies role assignments from the parent.
Public method BreakRoleInheritance(Boolean, Boolean) Creates unique role assignments for the object, optionally copies role assignments from the parent, and optionally clears unique role assignments from descendants.
Public method CheckPermissions Determines whether the current user has a specified set of permissions.
Public method DoesUserHavePermissions Indicates whether the current user has a specified set of permissions.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetUserEffectivePermissionInfo Gets an object with detailed information about the effective permissions that a specified user has in the current scope and the role assignments related to this user at this scope.
Public method GetUserEffectivePermissions Gets the effective permissions that a specified user has in the current scope.
Protected method MemberwiseClone (Inherited from Object.)
Public method ResetRoleInheritance Removes local role assignments and inherits role assignments from the parent object.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPSecurableObject Class

Microsoft.SharePoint Namespace