SPWeb.HasUniquePerm 属性
请注意:此 API 现在已过时。
Gets or sets a Boolean value that specifies whether the site has unique permissions.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("Use the HasUniqueRoleAssignments property or BreakRoleInheritance() and ResetRoleInheritance() methods instead")> _
Public Property HasUniquePerm As Boolean
Get
Set
用法
Dim instance As SPWeb
Dim value As Boolean
value = instance.HasUniquePerm
instance.HasUniquePerm = value
[ObsoleteAttribute("Use the HasUniqueRoleAssignments property or BreakRoleInheritance() and ResetRoleInheritance() methods instead")]
public bool HasUniquePerm { get; set; }
属性值
类型:System.Boolean
true if the website has unique permissions; otherwise, false.