SPListItem.HasUniqueRoleAssignments property
取得 Boolean 值,指定項目是否具有唯一安全性,或其角色指派繼承自父物件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides ReadOnly Property HasUniqueRoleAssignments As Boolean
Get
'用途
Dim instance As SPListItem
Dim value As Boolean
value = instance.HasUniqueRoleAssignments
public override bool HasUniqueRoleAssignments { get; }
Property value
Type: System.Boolean
true清單項目有唯一安全性 ; 如果否則,請false。
Implements
ISecurableObject.HasUniqueRoleAssignments
備註
若要變更HasUniqueRoleAssignments屬性的值,您必須先呼叫**BreakRoleInheritance(Boolean)**方法或ResetRoleInheritance方法。