Hi!
Sorry I haven't answered earlier, but a big thunderstorm fried my ISPs equipment so I haven't had a stable connection to the Internet since last Friday.

Howard...

Since I'm not to god with Ad I'll try and explain what i'm after.

This is how I have structured my Ad:
 -

I have a script that creates users in Ad, and now I want to ad the users to specific groups in the creation process.

The school and the groups are specified earlier in the script as:
$gg1 =
$gg2 =
$lg =
$sc =
(trying to use the old U.G.L.P system on the groups)
($gg2 is a member of $lg1)

So when the script has created the user it then checks for a group and if the group exist it adds the user
OR
If the group doesn't exit it first creates the group and then adds the user.

Hope that I'm not to unclear here but then again... AD isn't my strong suite.

/V

[edit: Hmmm adding an image doesn't seem to work... Here is an link to the image.]

[ 22. July 2003, 14:58: Message edited by: Viggen ]