Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Sites ←SitesClientManager

GetOrganizationsForUserAsync


Declaration​

public Task<OrganizationResult> GetOrganizationsForUserAsync(string userId, CancellationToken cancellationToken = default)

Summary​

Gets all organizations for a user.
Consider using GetSelfOrganizationInfoAsync instead.

Returns​

The organization result.

Parameters​

NameTypeSummary
userIdstring
The user ID to query organizations for.
cancellationTokenCancellationToken
Token to cancel the operation.