Please suggest javascript code for converting distinguished name into canonical name?Please refer the details below : This is distinguished name "CN=Peterson\,Misha,OU=Users,OU=Bright,OU=APAC,DC=xyz,DC=ang,DC=com". I need to convert this into"xyz.ang.com/APAC/Bright/Users/Peterson,Misha",i.e., Canonical name.