The COMMONDN function returns the common root of two LDAP distinguished names (DNs) without calling an LDAP server.
The COMMONDN function has the following format:
COMMONDN(ldapdn1, ldapdn2)
The COMMONDN function accepts the following parameters:
ldapdn1 (string)
Specifies an LDAP distinguished name (DN).
ldapdn2 (string)
Specifies an LDAP distinguished name (DN).
Note: If either ldapdn1 or ldapdn2 is not a valid LDAP DN or if the two DNs do not share a common root, the function returns an empty string. An LDAP DN is not case-sensitive.
The COMMONDN function returns a string.
LDAP Only: Yes
Return_value=COMMONDN('uid=Vincent,o=NDS.com', 'ou=People,o=nds.com')
Return_value='o=NDS.com'
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |