OpenText product name changes coming to the community soon! Learn more.

Wikis - Page

Custom tool: Batch Add Users to Group

0 Likes

This custom tool allows you to enter a comma separated list of users to add to a group.    The vbs script will need to be modified for your environment.   You need to edit the name of the DRA server in the script and the name of the domain it searches for the users to add to the group.    In addition the client machine where this is being run will need the DRA ADSI provider to be installed.   If multiple domain is needed, the script could be altered to search "All managed domains"


The lines that will need to be modified in the script are:



const EASrv="\\secadmin10"


vsInput.put "Container", "OnePoint://DC=Secure,DC=local"


BTW:  if you wanted it to search all managed domains instead of a single domain for the user tot add to the group, you would change the container to


vsInput.put "Container", "OnePoint://module=Accounts"


However this will work if the samaccountname is unique across multiple domains.



NetIQ does not test or validate any software, code or other materials provided in, on or through NetIQ Cool Solutions (collectively, "Materials"), so please use caution when downloading or accessing any Materials from Cool Solutions and ensure that you have reasonable and current security, spyware and anti-virus measures in place on your computer and/or network prior to downloading. Additionally, do not use any Materials downloaded from Cool Solutions in any production environment without first testing the Materials to ensure they are compatible with your version of NetIQ software or any other hardware or software present in your network or environment. Cool Solutions is not a substitute for authorized NetIQ support and should not be used as such. NETIQ COOL SOLUTIONS AND ANY MATERIALS ARE PROVIDED ON AN AS-IS, AS-AVAILABLE BASIS WITHOUT ANY WARRANTY OF ANY KIND. By downloading this file, you are agreeing to these terms of use. To report a problem please contact: coolguys-netiq@netiq.com. Your use of Cool Solutions is governed by the Cool Solutions Terms and Conditions. https://www.netiq.com/communities/coolsolutions/terms-and-conditions/

Labels:

Collateral
Comment List
Related
Recommended