For a specific User, retrieve the highest permission for a given asset path. The permission is highest of all groups to which the user belongs, including the Everyone group.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
EnumAssetNodeLevelPermission Permission( string assetPath, EnumAssetType assetType, IUser user )
Parameters
- assetPath
- Type: SystemString
The path of asset whose permission information you want to achieve. The 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 - user
- Type: Ingeniux.CMSIUser
[Missing <param name="user"/> documentation for "M:Ingeniux.CMS.IAssetSecurityManager.Permission(System.String,Ingeniux.CMS.Enums.EnumAssetType,Ingeniux.CMS.IUser)"]
Return Value
Type: EnumAssetNodeLevelPermissionThe highest permission for given User
See Also