Novell is now a part of Micro Focus

Mass User Delete for Groups

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

Applet that will delete users from a group based on a text file.


Product Categories:
  • eDirectory
  • Functional Categories:
  • User Management
  • Posted:18 Jul 2006
    File Size:720KB
    Publisher:Jeff Boucher-Zamzo


    Please read the note from our friends in legal before using this file.


    I created this a while back, in addition to my mass user add tool; when I got tired of manually adding 150 users for a new application deployment. This tool will allow you to select a text file and delete all of the users from the file in a group (without using LDIF or another tool). It will search the tree for your group (and confirm the group) then it will confirm the user list before deleting them from the group.

    A couple things to mention:

    • The executable will unpack 3 (Winbatch) .dll's when you launch it.
    • If you have multiple groups of the same name (different contexts) it will select the first one (I believe).
    • The delimiter for the users is CLRF (carriage return)
    • If you have any additional lines at the end of the text file the tool will hang (and eventually bomb) after adding the users.
    • This utility writes successes and failures to log files under C:\Temp.

    I will include the Winbatch source for anyone who would like to check what this is doing behind the scenes. I cannot guarantee this won't bork up your network. ;)

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

    © Copyright Micro Focus or one of its affiliates