Click or drag to resize

IAssetSecurityManagerSetPermission Method


Sets permission for given asset path.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
void SetPermission(
	string assetPath,
	EnumAssetType assetType,
	IEnumerable<IAssetNodeLevelPermission> permissions
)

Parameters

assetPath  String
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  EnumAssetType
The type of asset in the path
permissions  IEnumerableIAssetNodeLevelPermission
The permissions to set to the security entry for the given path
Remarks
If the security entry doesn't exist for the given asset type, a new security entry will be created.
See Also