Users
The Users
client allows you to access your Users on your Catalytic team.
Quickstart Example
/*
* This example demonstrates listing all users
*/
using Catalytic.Sdk;
using Catalytic.Sdk.Entities;
using System;
using System.Linq;
namespace Catalytic.Sdk.Examples
{
class Program
{
static void Main(string[] args)
{
var catalytic = new CatalyticClient(Credentials.Default);
var users = new List<User>();
var paging = new PagingOptions { Size = 25 };
while(paging != null)
{
var result = catalytic.Users.Find(
null,
paging
);
users.AddRange(result.Users);
paging = result.NextPageOptions;
}
// users now contains all matching Users
foreach(var user in users)
{
Console.WriteLine(user.Email);
}
}
}
}
Updated almost 4 years ago