Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagec#
int organizationId = 2267;
var users = await userManager.GetByOrganization(organizationId);

...