Interface IOrganizationProvider
An interface that provdes the methods to fetch user's IOrganization.
Namespace: Unity.Cloud.Assets
Syntax
public interface IOrganizationProvider
Methods
GetOrganizationsAsync(CancellationToken)
Implement this method to get the collection of IOrganization the current user belongs to.
Declaration
Task<IOrganization[]> GetOrganizationsAsync(CancellationToken token)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | token | The cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IOrganization[]> | A task whose result is an array of IOrganization. |