Click or drag to resize

IAssetSecurityManagerRenameAsset Method


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: 10.6.308
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