Click or drag to resize

UserResourcesListUsers Method (IEnumerableString, IEnumerableListUserInclusion, PaginationParameters)

Gets the list of Users in the organization. To filter by email, use the optional email query string parameter to specify a list of users’ email addresses.

It mirrors to the following Smartsheet REST API method: GET /Users

Namespace:  Smartsheet.Api
Assemblies:   smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
  smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
Syntax
PaginatedResult<User> ListUsers(
	IEnumerable<string> emails,
	IEnumerable<ListUserInclusion> includes,
	PaginationParameters paging
)

Parameters

emails
Type: System.Collections.GenericIEnumerableString
list of email addresses on which to filter the results
includes
Type: System.Collections.GenericIEnumerableListUserInclusion
elements to include in response
paging
Type: Smartsheet.Api.ModelsPaginationParameters
the pagination

Return Value

Type: PaginatedResultUser
the list of all Users
Exceptions
ExceptionCondition
InvalidOperationException if any argument is null or empty string
InvalidRequestException if there is any problem with the REST API request
AuthorizationException if there is any problem with the REST API authorization (access token)
ResourceNotFoundException if the resource cannot be found
ServiceUnavailableException if the REST API service is not available (possibly due to rate limiting)
SmartsheetException if there is any other error during the operation
See Also