View source: R/labkey.security.R
labkey.security.getContainers | R Documentation |
Returns information about the specified container, including the user's current permissions within that container. If the includeSubfolders config option is set to true, it will also return information about all descendants the user is allowed to see.
labkey.security.getContainers(baseUrl=NULL, folderPath,
includeEffectivePermissions=TRUE, includeSubfolders=FALSE, depth=50,
includeChildWorkbooks=TRUE, includeStandardProperties = TRUE)
baseUrl |
A string specifying the |
folderPath |
A string specifying the |
includeEffectivePermissions |
If set to false, the effective permissions for this container resource will not be included (defaults to true). |
includeSubfolders |
If set to true, the entire branch of containers will be returned. If false, only the immediate children of the starting container will be returned (defaults to false). |
depth |
May be used to control the depth of recursion if includeSubfolders is set to true. |
includeChildWorkbooks |
If true, include child containers of type workbook in the response (defaults to TRUE). |
includeStandardProperties |
If true, include the standard container properties like title, formats, etc. in the response (defaults to TRUE). |
This function returns information about the specified container, including the user's current permissions within that container. If the includeSubfolders config option is set to true, it will also return information about all descendants the user is allowed to see. The depth of the results for the included subfolders can be controlled with the depth parameter.
The data frame containing the container properties for the current folder and subfolders, including name, title, id, path, type, folderType, and effectivePermissions.
Cory Nathe
labkey.getFolders
,
labkey.security.createContainer
,
labkey.security.deleteContainer
,
labkey.security.moveContainer
labkey.security.renameContainer
## Not run:
library(Rlabkey)
labkey.security.getContainers(
baseUrl="http://labkey/", folderPath = "home",
includeEffectivePermissions = FALSE, includeSubfolders = TRUE, depth = 2,
includeChildWorkbooks = FALSE, includeStandardProperties = FALSE
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.