Get user's profile in customer portal
The profileForUser Deluge task can be used in action scripts to determine the profile of the user in the customer portal. The profile can be determined either by using the username or the email address of the particular user.
thisapp.portal.profileForUser("<User name/Email ID>");
- <Username / Email Id> - Specify the username or the email address of the user. You can either specify an email address, for example, firstname.lastname@example.org or add a Deluge expression that will return an email address, as value. For example, input.emailid, where emailid is the name of a form field.