Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
i am trying to get a list of permissions that a current user have on a specific nodes when i try to get the list its returned as a list of characters like below
i think that every character is a shortcut of some thing like p to publish or u to unpublished might-be d to delete but i cant find any place talking about that or find the meaning of these characters so any body have any idea ?
you're right these are the letters assigned to the actions, they are defined in IAction classes in Umbraco.Web.Actions
the letters are declared in these classes and you should be able to use that check for certain permissions:
for example, this should return true if the user has Publish permissions
Thank You Kevin !
thx a million
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted