Tom asks:
| the actual question was: I'm trying to obtain a list of all users.
|
| I guess this method should do the trick:
|
| Collection<Identity> identities = identitySession
| .getPersistenceManager()
| .findIdentity((IdentitySearchControl[])null);
|
| I assume this gets me the users *and* groups, right ?
|
| I only found following search controls:
|
| if (control instanceof PageSearchControl)
| {
| pageSearchControl = (PageSearchControl)control;
| }
| else if (control instanceof SortByNameSearchControl)
| {
| sortSearchControl = (SortByNameSearchControl)control;
| }
| else if (control instanceof AttributeFilterSearchControl)
| {
| attributeFilterControl = (AttributeFilterSearchControl)control;
| }
| else if (control instanceof NameFilterSearchControl)
| {
| nameFilterSearchControl = (NameFilterSearchControl)control;
| }
|
| Should I be looking into the attributes to filter for the users ?
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205959#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...