IAssetSecurityManagerRenameAsset Method Ingeniux CMS Content Store API

Carries out security entry updates when asset path is renamed or moved

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

void RenameAsset(
	string assetPathOld,
	string assetPathNew,
	EnumAssetType assetType
)

Parameters

assetPathOld
Type: SystemString
The old asset path
assetPathNew
Type: SystemString
The new asset path
assetType
Type: Ingeniux.CMS.EnumsEnumAssetType
The type of asset in the path
Remarks

This method should be called when trying to programatically change asset paths. It is not automatically called when performing manual file system changes. However, if an asset path is manually changed, its access security entry will not longer apply. The newly updated asset path instead use inherited security, or full access for the Everyone group.
See Also

Reference