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.492
Syntax
void RenameAsset(
	string assetPathOld,
	string assetPathNew,
	EnumAssetType assetType
)

Parameters

assetPathOld  String
The old asset path
assetPathNew  String
The new asset path
assetType  EnumAssetType
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