Role.setAssignmentAttributes()

The method sets role assignment attributes of the role.

Availability

IBM® Security Identity Manager 6.x

IBM Security Identity Manager 7.0.

Synopsis
Role.setAssignmentAttributes(String[] attributeNames)
Arguments
attributeNames
The array of assignment attribute names of the role. If an empty array is specified, all assignment attributes for the role are removed.
Description
This method is defined on the Role object and sets the role assignment attributes for a role.
Usage
var roleDN = roles[0];
var role = new Role(roleDN);
var roleAtr = new Array();
roleAtr[0] = "creditlimit";
//set assignment attribute names
role.setAssignmentAttributes(roleAtr);