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.
- DirectoryObject.addProperty()
The method adds or updates the value for the specified property.- DirectoryObject.dn
The field represents the distinguished name of the object.- DirectoryObject.getChanges()
The method returns the changes made to the entity.- DirectoryObject.getProperty()
The method returns the values of the property specified by the given name.- DirectoryObject.getPropertyAsDate()
The method returns the value of the property specified by the given name as a date object.- DirectoryObject.getPropertyAsString()
The method returns the value of the property specified by the given name as a string.- DirectoryObject.getPropertyNames()
The method returns a list of properties, such as attributes and relationships.- DirectoryObject.name
The field represents the logical name of the object.- DirectoryObject.profileName
The field returns the object profile name.- DirectoryObject.removeProperty(name)
The method removes the property specified by the given name.- DirectoryObject.removeProperty(name,value)
The method removes the value from the specified property.- DirectoryObject.setProperty()
The method sets the value of the specified property.Parent topic: JavaScript extension reference