Hi. I'm having a hard time figuring out the permissions API.
Lets say i have created a new user, and would like to give this user backend permissions to an Area. So that, if he logs into Dynamicweb Backend, that is the only area that he will be presented with.
I tried the following:
User.AreaPermission(Area, Dynamicweb.Modules.UserManagement.PagePermissionLevels.Backend); User.Save();
Though. It' does'nt change anything to the given users permissions. How does the API work`?
best regards.
Jonas