github.com/ashishbhate/mattermost-server@v5.11.1+incompatible/model/user_count.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  // Options for counting users
     7  type UserCountOptions struct {
     8  	// Should include users that are bots
     9  	IncludeBotAccounts bool
    10  	// Should include deleted users (of any type)
    11  	IncludeDeleted bool
    12  	// Exclude regular users
    13  	ExcludeRegularUsers bool
    14  	// Only include users on a specific team. "" for any team.
    15  	TeamId string
    16  }