IAssetSecurityManagerPermission Method (String, EnumAssetType, IUser)
|
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: 10.3.169
Syntax EnumAssetNodeLevelPermission Permission(
string assetPath,
EnumAssetType assetType,
IUser user
)
Function Permission (
assetPath As String,
assetType As EnumAssetType,
user As IUser
) As EnumAssetNodeLevelPermission
EnumAssetNodeLevelPermission Permission(
String^ assetPath,
EnumAssetType assetType,
IUser^ user
)
abstract Permission :
assetPath : string *
assetType : EnumAssetType *
user : IUser -> EnumAssetNodeLevelPermission
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