Jump to content
We've recently updated our Privacy Statement, available here ×

aperera

Members
  • Posts

    1
  • Joined

  • Last visited

aperera's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, I am trying to add an attribute to a tenant: ExecutionContext executionContext = JasperServerUtil.getExecutionContext();List contextAttributes = new ArrayList();contextAttributes.add("PRIVILEGED_OPERATION");executionContext.setAttributes(contextAttributes); ProfileAttribute attr = getProfileAttributeService().newProfileAttribute(executionContext);attr.setPrincipal(tenant);attr.setAttrName("name");attr.setAttrValue("value"); getProfileAttributeService().putProfileAttribute(executionContext, attr); but I get Acess Denied. How can this be done?
×
×
  • Create New...