...
await _userManager.GetByOrganization(User userint organizationId, int? serviceId)
Returns
Task<User>
Task<ICollection<User>>
API
GET
/api/v1/organizations/{id}/users
...
Parameter | Description | Parameter Type |
---|---|---|
idorganizationId | The organization Id to search for | PathInteger |
serviceId (optional) | TC service id | Integer |
Returns
On success, 200 Ok
...
On authorization error, 403 Forbidden
Example
Code Block | ||
---|---|---|
| ||
int organizationId = 2267; var users = await userManager.GetByOrganization(organizationId); |
...