Hi all,
I've been given the task of loading new groups and users into AD via code (C#). I can add groups and users fine using the directoryservices library but I am having massive trouble getting the Environments tab populated. I have tried various things including using the TSUSEREXLib library but getting an invalid cast error. I am developing on a WinXP machine but have copied and registered the dll from a Win 2003 Server. Does anyone have any ideas on how to script the user Environment in AD?
Cheers
dyarwood
I've been given the task of loading new groups and users into AD via code (C#). I can add groups and users fine using the directoryservices library but I am having massive trouble getting the Environments tab populated. I have tried various things including using the TSUSEREXLib library but getting an invalid cast error. I am developing on a WinXP machine but have copied and registered the dll from a Win 2003 Server. Does anyone have any ideas on how to script the user Environment in AD?
Cheers
dyarwood