Sets permission for given asset path.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
void SetPermission( string assetPath, EnumAssetType assetType, IEnumerable<IAssetNodeLevelPermission> permissions )
Parameters
- assetPath
- Type: SystemString
The path of asset for which you want to set permissions. This path must be relative to the XML folder and cannot start with a "\" character. - assetType
- Type: Ingeniux.CMS.EnumsEnumAssetType
The type of asset in the path - permissions
- Type: System.Collections.GenericIEnumerableIAssetNodeLevelPermission
The permissions to set to the security entry for the given path
Remarks
See Also