IAssetSecurityManagerPermission(String, EnumAssetType, IUser) Method
|
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.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxEnumAssetNodeLevelPermission 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 String
- 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 EnumAssetType
- The type of asset in the path
- user IUser
- The User whose permission information you want to retrieve
Return Value
EnumAssetNodeLevelPermissionThe highest permission for given User
See Also