Package com.atlassian.bitbucket.user
Class UserSearchRequest
java.lang.Object
com.atlassian.bitbucket.user.UserSearchRequest
Request for searching users. The purpose and behaviour of each field is described on its accessor.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionWhen set, limits returnedusersto only those whosedisplay names,e-mail addressesorusernamescontain the provided filter.getGroup()When set, limits returnedusersto only those who are members of the specified group.When set, limits returnedusersto only those who have all permissions as specified by each containedpermission request.
-
Method Details
-
getFilter
When set, limits returnedusersto only those whosedisplay names,e-mail addressesorusernamescontain the provided filter.If this field is not set, users shall be returned regardless of their
display namesore-mail addressesorusernames.- Returns:
- filter text to match against display names or e-mail addresses or usernames,
or
nullto return users regardless of display names or e-mail addresses or usernames.
-
getGroup
When set, limits returnedusersto only those who are members of the specified group.If this field is not set, users shall be returned regardless of their group membership.
- Returns:
- group name to match against user's group membership,
or
nullto return users regardless of their group membership. - Since:
- 4.4
-
getPermissions
When set, limits returnedusersto only those who have all permissions as specified by each containedpermission request.An empty set indicates that users shall be returned regardless of their
Permission.- Returns:
- the required permission(s), or an empty set to return all users regardless of permission.
-