Skip to content

GetOrganizationsForMemberAsync

Rasmus Wulff Jensen edited this page Nov 1, 2023 · 2 revisions

Back to Organization Features

Get the Organizations that the specified member has access to

Signature

/// <summary>
/// Get the Organizations that the specified member has access to
/// </summary>
/// <param name="memberId">Id of the Member to find organizations for</param>
/// <param name="cancellationToken">Cancellation Token</param>
/// <returns>The Organizations there is access to</returns>
public async Task<List<Organization>> GetOrganizationsForMemberAsync(string memberId, CancellationToken cancellationToken = default)

Examples

string memberId = "34343l4343jjk3343jk43kj";

List<Organization> organizations = await _trelloClient.GetOrganizationsForMemberAsync(memberId);
Clone this wiki locally