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 returnedusers
to only those whosedisplay names
,e-mail addresses
orusernames
contain the provided filter.getGroup()
When set, limits returnedusers
to only those who are members of the specified group.When set, limits returnedusers
to only those who have all permissions as specified by each containedpermission request
.
-
Method Details
-
getFilter
When set, limits returnedusers
to only those whosedisplay names
,e-mail addresses
orusernames
contain the provided filter.If this field is not set, users shall be returned regardless of their
display names
ore-mail addresses
orusernames
.- Returns:
- filter text to match against display names or e-mail addresses or usernames,
or
null
to return users regardless of display names or e-mail addresses or usernames.
-
getGroup
When set, limits returnedusers
to 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
null
to return users regardless of their group membership. - Since:
- 4.4
-
getPermissions
When set, limits returnedusers
to 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.
-