[jboss-user] [JBoss jBPM] - Re: Way to Add Users and Groups (beside API)

djcye do-not-reply at jboss.com
Thu Jul 30 10:46:44 EDT 2009


thx,

added some users and groups over the api.. adding users works but adding groups failes.. without any exception. 

IdentityService ids = processEngine.getIdentityService();

ids.createGroup("salesmanager", "salesmanagertyp", "manager");
ids.createUser("tina", "Tina", "Family","tina at firm.com");
ids.createMembership("tina", "salesmanager");  <- this causes an "group doesnt exist" exception... realy strange

even cant add a group and find it later over id, simply doesnt exist.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247026#4247026

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247026



More information about the jboss-user mailing list