github.com/trigonella/mattermost-server@v5.11.1+incompatible/model/user_get.go (about) 1 // Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. 2 // See License.txt for license information. 3 4 package model 5 6 type UserGetOptions struct { 7 // Filters the users in the team 8 InTeamId string 9 // Filters the users not in the team 10 NotInTeamId string 11 // Filters the users in the channel 12 InChannelId string 13 // Filters the users not in the channel 14 NotInChannelId string 15 // Filters the users without a team 16 WithoutTeam bool 17 // Filters the inactive users 18 Inactive bool 19 // Filters for the given role 20 Role string 21 // Sorting option 22 Sort string 23 // Page 24 Page int 25 // Page size 26 PerPage int 27 }