kentico_zbysekn
-
9/28/2009 10:25:35 AM
RE:Show folders only of write premission based on user
Hi Gulab, I'm not sure if I understand you correctly but if you want to find out what are the permissions of current user for documents under some hierarchy, you can use CMS.TreeEngine.TreeProvider.SelectNodes(String, String, String, Boolean) method to obtain dataset with information about document nodes and then for every node you should call CMS.CMSHelper.CurrentUserInfo.IsAuthorizedPerDocument(TreeNode, NodePermissionsEnum, String) to find out if user has appropriate permission. Best Regards, Zbysek Nemec
|