다음을 통해 공유


ConsoleNode.RightsMode Property

Gets or sets whether all or any UserRights properties must be satisfied.

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

Syntax

'Declaration
Public Property RightsMode As PermissionMode
    Get
    Set
'Usage
Dim instance As ConsoleNode
Dim value As PermissionMode

value = instance.RightsMode

instance.RightsMode = value
public PermissionMode RightsMode { get; set; }

Property Value

Type: Microsoft.SharePoint.Utilities.PermissionMode
A PermissionContext representing whether all or any rights must be satisfied.

Remarks

You may want to grant access to a ConsoleNode if the user has any one of several rights. In that case, set this property to PermissionMode.Any;.

See Also

Reference

ConsoleNode Class

ConsoleNode Members

Microsoft.SharePoint.Publishing.WebControls Namespace