Click or drag to resize

IAssetSecurityManagerRemovePermission Method


Removes all permission entries for given asset path.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
bool RemovePermission(
	string assetPath,
	EnumAssetType assetType
)

Parameters

assetPath
Type: SystemString
The path of asset whose permissions information you want to remove. 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

Return Value

Type: Boolean
True if permission is removed, false if permission is not found
Remarks
The given asset path uses inherited security, or full access for the Everyone group.
See Also