getCustomer()


Usage

CleengApi.getCustomer(callback);

Helper function that can be used to improve user experiece for authenticated customers. When call is successful (ie. user is logged in to Cleeng Platform), you will receive useful information about the customer.

Parameters:

This method has no parameters


Example:

CleengApi.getCustomer(function(result) {

        if (result) {
            alert("Welcome " + result.displayName + " !");
        }

    });
   

Back to Customer API


We use cookies to ensure that we provide you the best service and website experience. Read our Cookie policy for more details.