IAssetSecurityManagerRemovePermission Method
|
Removes all permission entries for given asset path.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax bool RemovePermission(
string assetPath,
EnumAssetType assetType
)
Function RemovePermission (
assetPath As String,
assetType As EnumAssetType
) As Boolean
bool RemovePermission(
String^ assetPath,
EnumAssetType assetType
)
abstract RemovePermission :
assetPath : string *
assetType : EnumAssetType -> bool
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:
BooleanTrue 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