Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Get a list of users by organization

Description

TheĀ GetByOrganization() method is used to get a list of users associated with an organization

Package Details

Interface

IUserManager

Syntax

await _userManager.GetByOrganization(User user)

Returns

Task<User>

API

GET
/api/v1/organizations/{id}/users

Parameters

Parameter

Description

Parameter Type

id

The organization Id to search for

Path

Returns

On success, 200 Ok

On error, 400 Bad Request

On authorization error, 403 Forbidden

Example

int organizationId = 2267;
var users = await userManager.GetByOrganization(organizationId);


  • No labels