Previous Topic: EXISTS Function--Look Up File Name

Next Topic: FILTER Function--Test Set Elements

EXPLODEDN Function--Convert LDAP DN to Set

The EXPLODEDN function converts an LDAP distinguished name (DN) to a set without calling an LDAP server.

Syntax

The EXPLODEDN function has the following format:

EXPLODED(ldapdn[, remove_attribute_names])

Parameters

The EXPLODEDN function accepts the following parameters:

ldapdn (string)

Specifies an LDAP distinguished name (DN).

remove_attribute_names (Boolean)

(Optional) Specifies the remove_attribute_names flag. If the flag is TRUE, the function removes the attribute names from the LDAP distinguished name (DN).

Return Value

The EXPLODEDN function returns a string of elements that are separated by the caret character: 'element1^element2'. Each element is a string.

Remarks

LDAP Only: Yes

Example

Return_value=EXPLODEDN('uid=hawk,o=NDS.com', FALSE)
Return_value='uid=hawk^o=NDS.com'

Return_value=EXPLODEDN('uid=hawk,o=NDS.com', TRUE)
Return_value='hawk^NDS.com'

More information:

COMMONDN Function--Find a Common Root

PARENTDN Function--Retrieve Parent in LDAP Tree

RDN Function--Retrieve First Component of LDAP DN

RELATIONDN Function--Compare Two Distinguished Names


Copyright © 2010 CA. All rights reserved. Email CA about this topic