Details
-
Suggestion
-
Resolution: Fixed
-
None
-
None
Description
An example of this search would be the following:
MembershipQuery query = QueryBuilder.queryFor(String.class, group()).with(Restriction.on(GroupTermKeys.NAME).startingWith("jira-admin")).parentsOf(user()).withName(ADMIN_USER).startingAt(0).returningAtMost(10);
MembershipQuery<User> userMembershipQuery = QueryBuilder.queryFor(User.class, EntityDescriptor.user()) .with(Restriction.on(UserTermKeys.NAME).startingWith("justin")) .childrenOf(EntityDescriptor.group()) .withNames("crowd-administrators", "jira-administrators") .startingAt(1) .returningAtMost(31);
Attachments
Issue Links
- is duplicated by
-
CWD-4529 Support full SearchRestrictions on both entities in a MembershipQuery
- Closed
- is related to
-
CWD-3863 Provide membership counting operations for the directories.
- Closed
-
CWD-4333 For non-caching LDAP directories support search restrictions on membership queries
- Gathering Interest
(2 mentioned in)