DirectoryObject.getPropertyAsString()

The method returns the value of the property specified by the given name as a string.

Availability

IBM® Tivoli® Identity Manager 4.x

IBM Tivoli Identity Manager 5.x

IBM Security Identity Manager 6.x

IBM Security Identity Manager 7.0.

Synopsis
directoryObject.getPropertyAsString(name)
Arguments
name
String representing the name of the property to return.
Returns
A String object. If the specified property does not exist, empty is returned. If the specified property has multiple values, only the first value is returned.
Description
This method returns the value of the property specified by the given name as a String object. If the specified property does not exist, empty string is returned. If the specified property has multiple values, only the first value is returned.
Usage
var name = directotyObject.getPropertyAsString("erservicename");