Get a list of
...
organizations
Description
The GetAll() method is used to get Get a list of all organizationorganizations.
Package Details
Interface
IAccountManagerIOrganizationManager
Syntax
AccountManagerawait OrganizationManager.ActivateGetAll( UserActivationContext userActivationContext )
Returns
Task<IEnumerable<Organization>>
API
GET
[POST] /api/v1/organizations
Sample request body
Code Block |
---|
{
"EnrollmentKey": "string",
"ServiceId": "int",
"AuthenticationContext": {
"Type": "GCKey",
"GCKey": {
"MBUN": "string",
"Issuer": "string"
},
"WindowsUserName": "string"
}
}
|
Returns
...
Returns
On success, 200 Ok
On error, 400 Bad Request
On authorization error, 403 Forbidden
Example
Code Block | ||
---|---|---|
| ||
var organizations = await _organizationManager.GetAll(); |