DirectoryObject

The object represents any IBM Security Identity Manager directory object or entity.

Availability
IBM Security Identity Manager 7.0

Constructor
There is no specific constructor for this object. Specific constructors for Account, Person, Role, and Service return DirectoryObject.

For example, new Service() returns a DirectoryObject.

Properties

dn
String representing the distinguished name of the entity.

name
String representing the logical name of the entity.

profileName
String representing the profile name of the entity.

Methods

addProperty()
Changes the value of the specified property, or adds the specified property if it does not exist. For multivalued objects, addProperty() adds the values to the specified property in the directory object and does not replace them.

getChanges()
Returns the changes made to the entity.

getProperty()
Returns the values of the property specified by the given name.

getPropertyNames()
Returns a list of properties (attributes and relationships).

removeProperty()
Removes the specified property.

setProperty()
Changes the value of the specified property, or adds the specified property if it does not exist.

getPropertyAsDate()
Returns the value of the specified property as a Date.

getPropertyAsString()
Returns the value of the specified property as a String.

Description
This Object represents a Security Identity Manager entity in the JavaScript environment. Each Security Identity Manager entity is wrapped in one of these object classes.

Parent topic: JavaScript extension reference