Click or drag to resize

ClientGetUsers Method

Gets a list of users based on the provided criteria.

Namespace:  MattermostDriver
Assembly:  MattermostDriver (in MattermostDriver.dll) Version: 0.0.3.10 (0.0.3.10)
Syntax
public List<User> GetUsers(
	int page,
	int per_page,
	string in_team = "",
	string in_channel = "",
	string not_in_channel = ""
)

Parameters

page
Type: SystemInt32
The page of results to retrieve. Starts at 0.
per_page
Type: SystemInt32
The number of results per page.
in_team (Optional)
Type: SystemString
(Optional) Restricts search to a specific team. Cannot be used with other restrictions.
in_channel (Optional)
Type: SystemString
(Optional) Restricts search to a specific channel. Cannot be used with other restrictions.
not_in_channel (Optional)
Type: SystemString
(Optional) Restricts search to users not in a specific channel. Cannot be used with other restrictions.

Return Value

Type: ListUser
A list of User objects.
See Also