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
Hello,
I already know how to retrieve a user's permission for a node, I use those lines :
User u = User.GetCurrent();string s = u.GetPermissions(Node.GetCurrent().Path);
But when i try to set the permissions, the intellisense gives me nothing. Is there something I am missing?
Thank you,F
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to set a user's permission on a node programmatically?
Hello,
I already know how to retrieve a user's permission for a node, I use those lines :
User u = User.GetCurrent();
string s = u.GetPermissions(Node.GetCurrent().Path);
But when i try to set the permissions, the intellisense gives me nothing. Is there something I am missing?
Thank you,
F
is working on a reply...