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.
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.
Comment