I want to add a role to a user from within my plugin like this:
My question is, how do I get 'role' I can't find an API where I get the list of all the roles available.
Also, I want my plugin to create a new project (I have this working) but I don't want to give the user running the plugin the permission to create projects. Is there anyway to override the current permissions before I call: myServer.getProjectManager().createProject()?
Thanks in advance