次の方法で共有


SPListItem.HasUniqueRoleAssignments property

Gets a Boolean value that specifies whether the item has unique security or inherits its role assignments from a parent object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property HasUniqueRoleAssignments As Boolean
    Get
'Usage
Dim instance As SPListItem
Dim value As Boolean

value = instance.HasUniqueRoleAssignments
public override bool HasUniqueRoleAssignments { get; }

Property value

Type: System.Boolean
true if the list item has unique security; otherwise, false.

Implements

ISecurableObject.HasUniqueRoleAssignments

Remarks

To change the value of the HasUniqueRoleAssignments property, you must call either the BreakRoleInheritance(Boolean) method or the ResetRoleInheritance method.

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace