Loading...
GET https://api.3seventy.com/api/v2.1/account/{accountId}/user
Description
Gets a list of users for the specified account.Path Parameters
accountId | integer | The account ID that the users belong to. | required |
using System;
using System.Collections.Generic;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Models;
public class Program
{
private static void Main(string[] args)
{
const int accountId = XXXX;
var context = new T70Context();
var userRepo = context.Repository<User>(new { AccountId = accountId });
var list = userRepo.GetAll();
}
}