2.2.4.12 Individual URL Security Result Set

The Individual URL Security Result Set contains security information about a document.

The Individual URL Security Result Set is defined using T-SQL syntax, as follows.

 {ListId}                       uniqueidentifier,
 Acl                            varbinary(max),
 AnonymousPermMask              bigint,
 {IsAttachment}                 bit,
 {NeedManageListRight}          bit,
 {BaseType}                     int,
 {ExcludedType}                 int,
 {ListFlags}                    bigint,
 {Level}                        tinyint,
 {DraftOwnerId}                 int,
 {DocType}                      tinyint,
 {bNeedNoThrottle}              bit,
 {ItemCount}                    int,
 {DoclibRowId}                  int,
 {DocFlags}                     int;

{ListID}: The List Identifier of the list or document library containing the document location.

Acl: The WSS ACL for the security scope associated with the document location.

AnonymousPermMask: The WSS Rights Mask that applies to an anonymous user, or a user with no assigned permissions, in the security scope associated with the document location.

{IsAttachment}: A bit flag specifying whether the document location is an attachment or an attachment folder. This value MUST be set to 1 if the document location is an attachment or attachment folder; otherwise, it MUST be 0.

{NeedManageListRight}: A bit flag specifying whether the current user needs the ManageLists bit of the WSS Rights Mask set to write to the document location. This value MUST be set to 1 if the current user MUST have the ManageLists bit of the WSS Rights Mask set in the security scope of the document location to write the document; otherwise, it MUST be 0.

{BaseType}: The List Base Type of the list or document library containing the document location.

{ExcludedType}: Contains an enumerated value specifying whether the document location is within a special folder type in the containing list or document library. The following values are valid.

Value

Description

0

The document location is not contained in a special folder.

1

The document location is, or is contained within, a forms folder: a folder named "Forms" within a document library.

2

The document location is, or is contained within, a Web image folder: a folder named "_w" within a document library.

3

The document location is, or is contained within, a thumbnail folder: a folder named "_t" within a document library.

4

The document location is at the root folder of the list or document library.

{ListFlags}: The List Flags of the list or document library containing the document location.

{Level}: The Publishing Level Type value specified for the document, or if the parameter was NULL, the Publishing Level Type of the current version of the document for the current user.

{DraftOwnerId}: The User Identifier of the principal (2) that published this document as a draft. This value MUST be NULL if the document does not exist or does not have a draft version.

{DocType}: The Document Store Type (section 2.2.2.4) of this document.

{bNeedNoThrottle}: If the list or document library containing the document location is a list or document library that can ignore throttle, then this value MUST be 1. Otherwise, it MUST be 0.

{ItemCount}: The number of the Items in list or document library containing the document location is a list or document library.

{DoclibRowId}: The row identifier of the document in the containing list or document library.

DocFlags: A Doc Flags (section 2.2.2.3) value specifying information about the document.