2 Replies Latest reply on Feb 1, 2008 12:52 PM by babs

    Programmatic User Role and User creation

    babs

      Hi,

      How can i create User Role and Users in JBoss Portal programatically. I have a list of User Roles and a list of Users associated with each role in a file. I am looking at a way to dynamically get these Roles and users created using portal API. How does the API support this, what would be the API classes to use for this?

      Also, Once i create a User Role and attach users to it, how can i assign permissions to the role. I understand there are standard roles - admin and user defined now. Can i have my custom roles with a different set of pervileges than these?


      Any pointers are appreciated.