Novell is now a part of Micro Focus

ActiveX controls use backslashes as delimiters between components...

Articles and Tips: qna

01 Dec 2002


Q.

ActiveX controls use backslashes as delimiters between components (Tree, O, OU, and CN) of a directory object name. A backslash can also be an escape for a special character. What special characters do I need to check for when parsing object names?

A.

eDirectory reserves a few character symbols for denotative purposes. The reserved characters are the period (.), the comma (,), the equal sign (=), the plus sign (+), and the backslash (\).

If these characters are a part of a name, then they must be escaped with a backslash (\). In the following example, the comma and period before and after the Inc are escaped:

"NDS:\\GlobalCorp\Subsidiary\, Inc\.\Marketing\Carol Smith"

For more on delimiters, see http://developer.novell.com/ndk/doc/ndslib/dsov_enu/data/h0yh1byj.html

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates