Skip to content

security.applicationUserElementAccess

Get the access mode available to the user for a particular element in a dimension. Returns a string. Possible values are R for Read Access, W for Write Access, or N for no access.

js
let json = security.applicationUserElementAccess(applicationId, userId, dimensionName, elementName);
let json = security.applicationUserElementAccess(applicationId, userId, dimensionName, elementName);

Parameters

  • applicationId - Identifier for the application.
  • userId - Identifier for the User.
  • dimensionName - Name of the dimension.
  • elementName - Name of the element to get access information from.

Example

js
const appId = "someAppId";
const userId = 123;
const access = security.applicationUserElementAccess(appId , userId, "Account", "Revenue");
console.log(access); // "R"
const appId = "someAppId";
const userId = 123;
const access = security.applicationUserElementAccess(appId , userId, "Account", "Revenue");
console.log(access); // "R"