Novell.Directory.Ldap.LdapDN.explodeDN C# (CSharp) Method

explodeDN() public static method

Returns the individual components of a distinguished name (DN).
public static explodeDN ( System dn, bool noTypes ) : System.String[]
dn System The distinguished name, for example, "cn=Babs /// Jensen,ou=Accounting,o=Acme,c=US" /// ///
noTypes bool If true, returns only the values of the /// components and not the names. For example, "Babs /// Jensen", "Accounting", "Acme", "US" instead of /// "cn=Babs Jensen", "ou=Accounting", "o=Acme", and /// "c=US". /// ///
return System.String[]
        public static System.String[] explodeDN(System.String dn, bool noTypes)
        {
            DN dnToExplode = new DN(dn);
            return dnToExplode.explodeDN(noTypes);
        }