roles

The roles assigned to the end user. A user may have multiple roles. Roles are presented in an array.

Type

array of strings

Example

for(var r = 0; r < roles.length; r++) {

   if(roles[r] == 'region_manager') {

      summaryTable.visible = true;

   }

}

<< principal © 1996-2013 InetSoft Technology Corporation (v11.5) addLink(eid, [item], replet [,request]) >>