getCollectionOwners
Method to get all collection owners.
Results of CollectionOwner.collections are ordered by collections.creationTimestamp desc.
Usage
ts
const collectionOwners = await dataProtectorSharing.getCollectionOwners();Parameters
ts
import { type GetCollectionOwnersParams } from '@iexec/dataprotector';limit
Type: number
Default: 100
Range: [1...1000]
ts
const collectionOwners = await dataProtectorSharing.getCollectionOwners({
limit: 100,
});Return value
ts
import type { GetCollectionOwnersResponse } from '@iexec/dataprotector';
// Child types
import type { CollectionOwner, SubscriptionParams } from '@iexec/dataprotector';hasActiveSubscription
true if you (logged-in user) have an active subscription to one of the collections.
