ListGroups() public method

List all Users.

It mirrors To the following Smartsheet REST API method: GET /groups

This operation supports pagination of results. For more information, see Paging.
if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public ListGroups ( PaginationParameters paging ) : PaginatedResult
paging PaginationParameters the pagination
return PaginatedResult
        public virtual void TestListGroups()
        {
            server.setResponseBody("../../../TestSDK/resources/listGroups.json");

            PaginatedResult <Group> result = groupResources.ListGroups(new PaginationParameters(false, 100, 1));

            Assert.IsTrue(result.Data.Count == result.TotalCount);
            Assert.IsTrue(result.Data[0].Id == 4583173393803140);
            Assert.IsTrue(result.Data[0].Name == "Group 1");
            Assert.IsTrue(result.Data[0].Description == "My group");
            Assert.IsTrue(result.Data[0].OwnerId == 2331373580117892);
        }