IAssetSecurityManagerSetPermission Method
|
Sets permission for given asset path.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxvoid SetPermission(
string assetPath,
EnumAssetType assetType,
IEnumerable<IAssetNodeLevelPermission> permissions
)
Sub SetPermission (
assetPath As String,
assetType As EnumAssetType,
permissions As IEnumerable(Of IAssetNodeLevelPermission)
)
void SetPermission(
String^ assetPath,
EnumAssetType assetType,
IEnumerable<IAssetNodeLevelPermission^>^ permissions
)
abstract SetPermission :
assetPath : string *
assetType : EnumAssetType *
permissions : IEnumerable<IAssetNodeLevelPermission> -> unit Parameters
- assetPath String
- The path of asset for which you want to set permissions. This path must be relative to the XML folder and cannot start with a "\" character.
- assetType EnumAssetType
- The type of asset in the path
- permissions IEnumerableIAssetNodeLevelPermission
- The permissions to set to the security entry for the given path
RemarksIf the security entry doesn't exist for the given asset type, a new security entry will be created.
See Also