Cisco Cisco Unified MeetingPlace Directory Services Manuale Di Manutenzione

Pagina di 144
Appendix C  MeetingPlace Directory Services Plug-In Functions 123
Latitude Communications  MeetingPlace Directory Services System Manager’s Guide
mlkAMapMultiValToSin
gle 
This function takes a single 
attribute as a parameter and 
maps all the values of that 
attribute to a single value. It does 
so by concatenating the values, 
using the optional parameter as a 
delimiter. Any occurrences of 
the delimiter string within the 
values are escaped with a 
backslash. Backslashes are also 
escaped with backslashes. 
destSingleValAttr=&Mul
tiValToSingle(*srcMulti
ValAttr) 
mlkAMapReparentDN
The first parameter is an 
attribute parameter; the next two 
parameters are string literals. 
The function is used to map a 
DN in one subtree to an 
equivalent position in a different 
subtree. The second parameter is 
the initial parent DN; the third 
parameter is the new parent DN. 
The DNs must be in DC-
Directory rather than LDAP 
form.
destNewDNAttr=*&Rep
arentDN(*srcOldDNAttr, 
“/c=US/o=MyCorp”, “/
dc=com/dc=mycorp”) 
mlkAMapReplaceSubstri
ng 
The first parameter is an 
attribute parameter; the second 
two parameters are string 
literals. The function is used to 
perform a substring replacement 
on all values of the attribute, 
replacing all instances of a 
specified string with an 
alternative value. The second 
parameter is the string to search 
for; the third parameter is the 
replacement string. 
destProperAttr=*&Repla
ceSubstring(*srcShortHa
ndAttr, “Init:”, 
“Initials:”) 
Function
Name
Description
Sample