Person
The object represents the person entity.
- Availability
- IBM® Security Identity Manager 4.x.
- Provided by
com.ibm.itim.script.extensions.model.PersonModelExtension
- Inherits From
DirectoryObject
- Constructors
- new Person(String dn)
- Arguments:
- dn
- The distinguished name of a specific person entry in the directory server.
- new Person(DirectoryObject directoryObject)
- Arguments:
- directoryObject
DirectoryObject
to be contained in the person
- new Person(DirectoryObjectEntity directoryObjectEntity)
- Arguments:
- directoryObjectEntity
DirectoryObjectEntity
to be contained in the person
- Methods
-
- getAllAssignmentAttributes()
- Returns an array of the
RoleAssignmentAttribute
objects that are defined in all of authorized roles for this person. The authorized roles consist of both the direct roles for this person and also all of the parent roles of the direct roles. - getAndDecryptSynchPassword()
- Decrypts and returns the decrypted synch password of the person
entity in plain text.Note: This method is available in the scripting context of IBM Verify Identity Governance only if the javascript.password.access.enabled property is set to true in the IM_HOME/data/scriptframework.properties file.
- getAndDecryptPersonPassword()
- Decrypts and returns the decrypted person password of the person
entity in plain text.Note: This method is available in the scripting context of Identity Manager only if the javascript.password.access.enabled property is set to true in the IM_HOME/data/scriptframework.properties file.
- getRoleAssignmentData()
- Returns all role assignment data for the person.
- getRoleAssignmentData(String roleAssignedDN)
- Returns all role assignment data for the person for the specified role.
- getRoles()
- Returns an array of DirectoryObjects, each representing a role.
- getNewRoles()
- Returns an array of newly added roles for the person.
- getNewRoles(boolean convertReplaceToAddDelete)
- Returns an array of newly added static roles for the person.
- getRemovedRoles()
- Returns an array of removed roles for the person.
- getRemovedRoles(boolean convertReplaceToAddDelete)
- Returns an array of removed static roles for the person.
- isInRole(String roleName)
- Determines whether the person belongs to the role. Returns Boolean.
- removeRole()
- Removes the person from the specified role.
- removeRoleAssignmentData(String roleAssignedDN)
- Removes all role assignment data for the person from the specified role.
- updateRoleAssignmentData(RoleAssignmentObject[] roleAssignmentObject)
- Updates a person with the role assignment attribute value changes
that are defined in the set of
RoleAssignmentObjects
.