3.1.5.19.28 Current Folder Scope Result Set

The Current Folder Scope Result set contains scope information about the current folder as specified by the input parameter @CurrentFolderURL. It is used by the front-end Web server to security trim the information rendered to the user in a view Web page based on the user's access.

The Current Folder Scope Result Set MUST return only if @PageView is not NULL, and it MUST NOT return if proc_FetchDocForHttpGet returns a code of 1271, indicating that the site collection was locked. In addition, the Current Folder Scope Result Set MUST return only if the document is contained in a list and resides in a folder that is not the list's root folder.

If the Current Folder Scope Result Set returns, it MUST return one row.

       {FolderScopeId}                uniqueidentifier,
       {FolderId}                     int;

{FolderScopeId}: The Scope Identifier of the security scope effective for the specified folder.

{FolderId}: The integer identifier of the folder document within the containing list.