RoleAssignmentObject
The RoleAssignmentObject
class is a DataObject class for role assignment
data.
This class holds the assignment data that are associated with the defined role and the assigned
role. The defined role is the role that holds a list of assignment attributes. The assigned role is
the role to which the person is assigned.
Note: Note that creating
RoleAssignmentObject using the constructor RoleAssignmentObject(String
assignedRoleDN, String definedRoleDN) works as only a data object, and does not contain
any data other than the in-memory DN object of assignedRoleDN and
definedRoleDN. For example, if you call getPropertyNames()
immediately after creating the RoleAssignmentObject from the
RoleAssignmentObject(String assignedRoleDN, String definedRoleDN) constructor,
then it returns an empty string array.
- Availability
-
IBM® Security Identity Manager 6.x
IBM Security Identity Manager 7.0.
- Provided by
- com.ibm.itim.script.extensions.model.RAObjectModelExtension
- Constructors
-
- new RoleAssignmentObject(RoleAssignmentObject assignmentObject)
- Arguments:
- assignmentObject
RoleAssignmentObject
that is wrapped inside theRoleAssignmentObject
.
- new RoleAssignmentObject(String assignedRoleDN, String definedRoleDN)
- Arguments:
- assignedRoleDN
- The String format of the distinguished name for the assigned role.
- definedRoleDN
- The String format of the distinguished name for the defined role.
- Methods
-
- addProperty()
- Adds the values for specified assignment attribute.
- getAssignedRoleDN()
- Returns the distinguished name string for the role to which the person is assigned.
- getDefinedRoleDN()
- Returns the distinguished name string for the role in which the assignment attribute is defined.
- getChanges()
- Returns the changes made to this
RoleAssignmentObject
. - getProperty()
- Returns the values of the property specified by the assignment attribute name.
- getPropertyNames()
- Returns a list of role assignment attribute names.
- removeProperty()
- Removes the values for the specified assignment attribute name.
- setProperty()
- Sets the values for a specified assignment attribute.
- Description
- RoleAssignmentObject contains the role assignment data, including the assigned role DN, the
defined role
DN
and attribute values.