1 réponse
Hi Tarek Ayoubi 12,You can query your account according to your site like below
If you find your Solution then mark it as the best answer. Thanks and RegardsSuraj Tripathi.List<Account> accList = [ Select Id, Name, email__c from Account where SiteID = '418666'] //for 418666 site Id
or
List<Account> accList = [ Select Id, Name, email__c from Account where SiteID = '744888'] //for 744888 site Id