Skip to content

getUserAddOnlyAppWhitelist

Method to get AddOnlyAppWhitelist, you can filter by user ethereum address.

Usage

ts
const 
allAppOnlyAppWhitelistAvailable
=
await
dataProtectorSharing
.
getUserAddOnlyAppWhitelist
();

Parameters

ts
import { type 
GetUserAppWhitelistParams
} from '@iexec/dataprotector';

user Optional

Type: AddressOrENS

Address or ENS of the user that manages the AddAppToAddOnlyAppWhitelist

ts
const 
allUserAddOnlyAppWhitelist
=
await
dataProtectorSharing
.
getUserAddOnlyAppWhitelist
({
user
: '0x123abc...',
});

Return value

ts
import { type 
GetUserAppWhitelistResponse
} from '@iexec/dataprotector';
// Child types import { type
AddOnlyAppWhitelist
} from '@iexec/dataprotector';