You need to sign in to do that
Don't have an account?
chriseustace
Fields for Customer Portal Trigger
Hello all,
Is there a specific field(s) that will identify a contact as a customer portal user? What I need to have happen is have a custom object automatically change ownership related to the contact if they are set as a portal user. Any ideas?
Once a Contact is enabled as Portal user (Customer or Partner portal), the correspond user record has a reference to the contact. If you look for "ContactId" on the User that corresponds to the Contact Id that should tell you if the Contact record is associated with a portal or not. For more info, look at http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_user.htm and search for "ContactId".