SPSecurableObject 成员

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

SPSecurableObject 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 SPSecurableObject Allows the base class to perform initialization tasks when instances of a derived class are created.

页首

属性

  名称 说明
公共属性 AllRolesForCurrentUser Gets a full list of role definitions on the object to which the current user belongs on this scope.
公共属性 EffectiveBasePermissions Gets a value that indicates the current user's effective permissions on the object.
公共属性 FirstUniqueAncestor 已过时。Use the FirstUniqueAncestorSecurableObject property instead.
公共属性 FirstUniqueAncestorSecurableObject Gets the object where role assignments for this object are defined.
公共属性 HasUniqueRoleAssignments Indicates whether the object has unique role assignments or inherits its role assignments from a parent object.
公共属性 ReusableAcl Gets an opaque object that represents the raw access control list (ACL) information for the object.
公共属性 RoleAssignments Gets the role assignments for this securable object.

页首

方法

  名称 说明
公共方法 BreakRoleInheritance(Boolean) Creates unique role assignments for the object and optionally copies role assignments from the parent.
公共方法 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.
公共方法 CheckPermissions Determines whether the current user has a specified set of permissions.
公共方法 DoesUserHavePermissions Indicates whether the current user has a specified set of permissions.
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 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.
公共方法 GetUserEffectivePermissions Gets the effective permissions that a specified user has in the current scope.
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 ResetRoleInheritance When implemented in a derived class, removes local role assignments so that role assignments, in all descendant objects, are re-inherited from the parent object.
公共方法 ToString (从 Object 继承。)

页首

另请参阅

引用

SPSecurableObject 类

Microsoft.SharePoint 命名空间