Permissions methods
The UI Apps SDK provides you with the capability to retrieve permissions from the Quantive Results account in which your UI application is integrated.
NOTE: Before you start using the SDK methods, ensure you have imported and configured the SDK first.
getUserPermissions
To obtain a list of permissions allotted to a particular user in Quantive Results, you should utilize the getUserPermissions SDK method. The response you will receive contains a list of all permissions associated with that user.
sdk.getUserPermissions().then((response) => {
console.log(response);
});