Share via


SPQuery.IncludePermissions property

Gets or sets a Boolean value that specifies whether the query returns security information.

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

Syntax

'Declaration
Public Property IncludePermissions As Boolean
    Get
    Set
'Usage
Dim instance As SPQuery
Dim value As Boolean

value = instance.IncludePermissions

instance.IncludePermissions = value
public bool IncludePermissions { get; set; }

Property value

Type: System.Boolean
true to return security information; otherwise, false.

See also

Reference

SPQuery class

SPQuery members

Microsoft.SharePoint namespace