RoleAssignmentAttribute.getName()
The method returns the name of the assignment attribute.
- Availability
IBM® Security Identity Manager 6.x
IBM Security Identity Manager 7.0.
- Synopsis
RoleAssignmentAttribute.getName()
- Arguments
- None
- Returns
- The name of the assignment attribute.
- Description
- Returns the name of the assignment attribute that is defined on the role.
- Usage
var role = new Role(roleDN); //get assignment attributes of the role var attributeList = role.getAllAssignmentAttributes(); if (attributeList.length == 0) { Enrole.log("script", "No assignment attribute for this role: " + role.name); return; } // print out role assignment attribute name. for (var i=0; i < attributeList.length; i++) { var roleAtr = attributeList[i]; Enrole.log("script","attribute name-----: "+ roleAtr.getName()); }