Announcement

Collapse
No announcement yet.

Custom Tool to Disable, Move OU and Hide from ABs for multiple users

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • kstanush
    replied
    Re: Custom Tool to Disable, Move OU and Hide from ABs for multiple users

    The OU path cannot be modified as its essentially like trying to modify a file location given the full path of a file. You just have to 'move' the directory object, then the OU path will change accordingly.

    Leave a comment:


  • cmccullough
    Guest replied
    Re: Custom Tool to Disable, Move OU and Hide from ABs for multiple users

    Each of these can be done with Hyena functions, we just don't have a way to combine them into one step. As for your Custom Tool questions:

    1. You can add DN to Users(Summary) under File->Manage Object View->AD Queries, so that when you double-click on the All Users object you will have the additional column in the right-hand window.

    2. I don't know the answer to this one, unfortunately.

    3. The method I gave in your other post is the only way we have to do this one.

    Leave a comment:


  • Custom Tool to Disable, Move OU and Hide from ABs for multiple users

    As part of my job I am required to go through a list of users that are leaving our systems. The accounts for these users need to be disabled, hidden from the address lists and moved into a 'leavers' OU.

    I have already written a custom tool using dsmod to disable user accounts however I have a number of problems:

    1) The code needs to have the user's Distinguished Name specified to function - is there a way to import this for all selected users on the right hand screen in Hyena?

    2) I have not found a way to edit the OU path using the dsmod function - is this even possible?

    3) As far as I know the option to hide a user from exchange address lists (by modifying the 'msExchHideFromAddressLists' property) is not available using dsmod - is there another alternative that can be used within the same custom tool?

    As you can see I've thrown myself into the deep end a little, any help would be much appreciated.
Working...
X