Class AdminUsersListRequest.AdminUsersListRequestBuilder
java.lang.Object
com.slack.api.methods.request.admin.users.AdminUsersListRequest.AdminUsersListRequestBuilder
- Enclosing class:
- AdminUsersListRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Set cursor to next_cursor returned by the previous call to list items in the next page.includeDeactivatedUserWorkspaces(Boolean includeDeactivatedUserWorkspaces) Only applies with org token and no team_id.If true, only active users will be returned.Limit for how many users to be retrieved per pageThe ID (T1234) of the workspace.Authentication token bearing required scopes.toString()
-
Method Details
-
token
Authentication token bearing required scopes.- Returns:
this.
-
teamId
The ID (T1234) of the workspace.- Returns:
this.
-
includeDeactivatedUserWorkspaces
public AdminUsersListRequest.AdminUsersListRequestBuilder includeDeactivatedUserWorkspaces(Boolean includeDeactivatedUserWorkspaces) Only applies with org token and no team_id. If true, return workspaces for a user even if they may be deactivated on them. If false, return workspaces for a user only when user is active on them. Default is false.- Returns:
this.
-
isActive
If true, only active users will be returned. If false, only deactivated users will be returned. Default is true.- Returns:
this.
-
cursor
Set cursor to next_cursor returned by the previous call to list items in the next page.- Returns:
this.
-
limit
Limit for how many users to be retrieved per page- Returns:
this.
-
build
-
toString
-