You need to sign in to do that
Don't have an account?
cpo
Calling Account details from within the customer portal
Hi All,
I am having real trouble with something very simple. I am trying to grab the account details of a contact from within the portal but can't seem to do it.
Any help would be much appreciated. This is my Apex Class so far.
public class communityUserObj {
public Contact contact {get; private set;}
public communityUserObj() {
contact = [SELECT Id, Name, Email, AccountId, Account.Package__c from contact where contact.Id IN (select user.ContactId from user where user.id = :UserInfo.getUserID())];
}
}
try...