Interface IOrganization
The interface for an organization.
Inherited Members
Namespace: Unity.Cloud.Identity
Assembly: Unity.Cloud.Identity.dll
Syntax
public interface IOrganization : IRoleProvider, IMemberInfoProvider, ICloudStorageInfoProvider
Properties
Id
Gets the Genesis id of the organization.
Declaration
OrganizationId Id { get; }
Property Value
| Type | Description |
|---|---|
| OrganizationId |
Name
Gets the name of the organization.
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Role
Gets the legacy role of the user in the organization.
Declaration
Role Role { get; }
Property Value
| Type | Description |
|---|---|
| Role |
Methods
ListProjectsAsync(Range, CancellationToken)
An awaitable Task that returns the list of IProject the user can access in the organization.
Declaration
IAsyncEnumerable<IProject> ListProjectsAsync(Range range, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Range | range | A range of IProject to request. |
| CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| IAsyncEnumerable<IProject> | A task whose result is an async enumeration of IProject. |