共用方式為


SPWeb.HasUniqueRoleDefinitions property

取得布林值,這個值,指出是否唯一定義此網站或繼承自父網站的角色定義。

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

Syntax

'宣告
Public ReadOnly Property HasUniqueRoleDefinitions As Boolean
    Get
'用途
Dim instance As SPWeb
Dim value As Boolean

value = instance.HasUniqueRoleDefinitions
public bool HasUniqueRoleDefinitions { get; }

Property value

Type: System.Boolean
true如果網站有唯一的角色定義。否則, false。

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace