Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • F 19 posts 39 karma points
    Aug 30, 2011 @ 16:03
    F
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft