In the Fortress API I found only one method in the class org.apache.directory.fortress.core.rbac.User to set a one-to-one relationship between one user and one OrgUnit.
How can I achieve a one-to-many relationship without using LDAP API directly to set the user entity? Olaf Jentsch -----Original Message----- From: Shawn McKinney [mailto:[email protected]] Sent: Wednesday, September 09, 2015 5:23 PM To: [email protected] Subject: Re: User membership in different OrgUnit's > On Sep 9, 2015, at 10:04 AM, Olaf Jentsch <[email protected]> wrote: > > I was looking for the API method to add an OrgUnit to a user entity and found > there ist only a set-method > User.setOu(ou) > to set only one organizational unit. > > Why a user cannot be member of more than one OrgUnit's? > I think it is the normal case, that a user is working in different groups and > has to be administered under different points of view. You are right - there’s a one-to-many relationship between users and their ous. Do you have a scenario for why this can’t be? Shawn
