FileBrowserServicesGetPermissions Method Ingeniux CMS Web Services API

Retrieves the security information for a given asset file or folder

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

public XHRServiceResponseGeneric<FileBrowserNodePermission> GetPermissions(
	GetPermissionInput data
)

Parameters

data
Type: GetPermissionInput

The information of asset item to get security information for

Examples

JavaScript
{
    "data": {
        "relativePath": "Images/icons",
        "assetType": 1 //0 for file, 1 for folder
    }
}

Return Value

Type: XHRServiceResponseGenericFileBrowserNodePermission

The security information for given asset item

Examples

JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "isInherited": true,
        "permissions": [{
            "groupId": "0",
            "groupName": "Everyone",
            "permission": 2
        }]
    }
}
See Also

Reference