|
Whitebeam Template Reference Documentation
|
Contact Template
modifyOU()
Modifies an OU entity
See Also
rb.contact.remove rb.contact.link rb.contact.createOU Syntax
number = rb.contact.modifyOU(values)
Parameters
The 'modifyOU' method takes 1 parameter:
Results
The 'modifyOU' method returns number:
Type/Value | Range/Length | Description |
number |
-1, or positive integer |
ID of the modified record, or -1 if the record couldn't be modified. |
Remarks Modify changes all of those properties which are set in the passed values object. Properties which are not set in the object will not be changed in the contact database. ID must be set for modify to succeed Example The following example gets the OU information for "mega", and modifies the description string
var mega = rb.contact.communityInfo(-1, "mega")
if(mega != null){
mega.description = "A new description";
rb.contact.modifyOU(mega);
}
|
|
(loadtime : 70ms) |