Security, Privacy, AI and CSR information for all Piano products now lives in one place. Explore our Compliance Center.
Subscriptions
English French
English French

How to get a list of user accesses on the frontend?

In order to retrieve a list of user accesses, you can run this API call on the frontend:

tp.api.callApi("/access/list", {}, function(response) {console.log(response)});

The response will contain a list of the accesses the user has. You can then implement your own logic to for example show or hide specific content on your website, based on access data this API call returns.

Last updated: