Please Read: Significant Update Planned, Migrating Forum Software This Month

See more
See less

Query on Active directory - Locale containers

  • Filter
  • Time
  • Show
Clear All
new posts

  • Query on Active directory - Locale containers

    Hi, I'm a beginner on AD & scripting.

    First of all, excuse me for my ignorance ...

    I have simple vb script which adds a menu item to the adminContextMenu for the US-English locale (409 container). The menu item has been added to the user-display object.

    However I would like to know how can I add the menu item for all supported locales on a server machine. (CN=401, 402, 40C etc.,). Currently, I have a VB Script which does this So, please let me know if anything could be done on VB Script to get all the decimal values for the locale as an array, so that probably I can iterate over it to add the menu item to all locales ...

    Or is there a way to programmatically find out which locale in the Active directory is currently used/active?

    The thing is I do not know which locale will be used on customer site ..... So, I want to add the menu item to the locale which is used on customer site (shouldfind this programatically or add the menu item to all the locale containers on the AD) ........... Please help me out ...