how to get the status of customer in the customer portal using deluge script
From the knowledge I knew,
thisapp.portal.profileForUser();
This script able to get the permission of the customer.
But, how to get the status of customer (the status I referred is Approved Customer, Pending Customer and Unconfirmed Customer) using the deluge scripting.