DirectoryObject.removeProperty(name,value)

The method removes the value from the specified property.

Availability

IBM® Security Identity Manager 6.0.0.3

IBM Security Identity Manager

Synopsis
directoryObject.removeProperty(name,value)
Arguments
name
String representing the name of the property to be modified.
value
The value to remove from the property.
Description
This method removes the specified value from property if it exists. This change is made locally to the script environment, not to the data store. The value can be a single value object or an array of objects. For multivalued objects, removeProperty(name,value) removes the values from the specified property in the directory object. The object type of the value (syntax) must be compatible with the syntax of the specified property. This method is available for the following data types:
  • void removeProperty(String name, Collection value);
  • void removeProperty(String name, Date value);
  • void removeProperty(String name, Map value);
  • void removeProperty(String name, boolean value);
  • void removeProperty(String name, byte value);
  • void removeProperty(String name, String value);
  • void removeProperty(String name, Number value);
Usage
var directoryObject = Entity.get();
directoryObject.removeProperty("eraliases", "jdoe");
Entity.set(directoryObject);