Previous Topic: ORBITS Function--Perform a Bitwise OR Operation

Next Topic: PCASE Function--Convert a String to Proper Case

PARENTDN Function--Retrieve Parent in LDAP Tree

The PARENTDN function returns the next level up in the LDAP Directory Information Tree above the specified distinguished name (DN). If the specified DN is invalid, or is already at the top of the tree, a blank string is returned.

Syntax

The PARENTDN function has the following format:

PARENTDN(source_string)

Parameters

The PARENTDN function accepts the following parameters:

source_string (string)

The LPAP distinguished name (DN).

Return Value

The PARENTDN function returns a string.

Remarks

LDAP Only: Yes

Example

Return_value=PARENTDN("uid=juan,o=NDS.com")
Return_value="o=NDS.com"

Return_value=PARENTDN("o=NDS.com")
Return_value=""

More information:

COMMONDN Function--Find a Common Root

EXPLODEDN Function--Convert LDAP DN to Set

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