GetOrganizationsForUserAsync
Declaration
public Task<OrganizationResult> GetOrganizationsForUserAsync(string userId, CancellationToken cancellationToken = default)
Summary
Returns
The organization result.
Parameters
| Name | Type | Summary |
|---|---|---|
| userId | string | The user ID to query organizations for. |
| cancellationToken | CancellationToken | Token to cancel the operation. |
Gets all organizations for a user.
Consider using GetSelfOrganizationInfoAsync instead.