FileBrowserServicesGetRootPermissions Method Ingeniux CMS Web Services API

Get the security information on provided root folders

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<FileBrowserRootPermissions> GetRootPermissions(
	GetRootPermissionsInput data
)

Parameters

data
Type: GetRootPermissionsInput

The list of root folder name to request security information for

Examples

Sample JSON request
JavaScript
{
    "data": {
        "File": "Documents",
        "Image": "Images",
        "Media": "Media",
        "Stylesheet": "Stylesheets",
        "Prebuilt": "PreBuilt"
    }
}

Return Value

Type: XHRServiceResponseGenericFileBrowserRootPermissions

The permission information on the provided root folder names

JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "File": {
            "absolutePath": "",
            "assetPermission": 2,
            "path": "Documents"
        },
        "Image": {
            "absolutePath": "",
            "assetPermission": 2,
            "path": "Images"
        },
        "Media": {
            "absolutePath": "",
            "assetPermission": 2,
            "path": "Media"
        },
        "Prebuilt": {
            "absolutePath": "",
            "assetPermission": 2,
            "path": "PreBuilt"
        },
        "Stylesheet": {
            "absolutePath": "",
            "assetPermission": 2,
            "path": "Stylesheets"
        }
    }
}
See Also

Reference