RE: [ActiveDir] [Slightly OT] OU of a user in AD

2003-12-06 Thread Joe
iver MarshallSent: Friday, December 05, 2003 10:49 AMTo: [EMAIL PROTECTED]Subject: [ActiveDir] [Slightly OT] OU of a user in AD Does anyone know if the OU of a user can be retrieved via a script ? I am using the following to TRY and set the description of the user to its OU (dont ask). but I cant

RE: [ActiveDir] [Slightly OT] OU of a user in AD

2003-12-05 Thread Robbie Allen
ROTECTED] > Subject: RE: [ActiveDir] [Slightly OT] OU of a user in AD > > My mistake, its working ok, but its not returning what I > expected. Just the domain name rather the the OU it resides in. > > -Original Message- > From: Robbie Allen [mailto:[EMAIL PROTECTED] > Sent

RE: [ActiveDir] [Slightly OT] OU of a user in AD

2003-12-05 Thread Oliver Marshall
L PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Marshall Sent: Friday, December 05, 2003 10:49 AM To: [EMAIL PROTECTED] Subject: [ActiveDir] [Slightly OT] OU of a user in AD Does anyone know if the OU of a user can be retrieved via a script ?

RE: [ActiveDir] [Slightly OT] OU of a user in AD

2003-12-05 Thread Oliver Marshall
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Marshall Sent: Friday, December 05, 2003 10:49 AM To: [EMAIL PROTECTED] Subject: [ActiveDir] [Slightly OT] OU of a user in AD Does anyone know if the OU of a user can

RE: [ActiveDir] [Slightly OT] OU of a user in AD

2003-12-05 Thread Robbie Allen
TECTED] On Behalf Of Oliver MarshallSent: Friday, December 05, 2003 10:49 AMTo: [EMAIL PROTECTED]Subject: [ActiveDir] [Slightly OT] OU of a user in AD Does anyone know if the OU of a user can be retrieved via a script ? I am using the following to TRY and set the description of t

[ActiveDir] [Slightly OT] OU of a user in AD

2003-12-05 Thread Oliver Marshall
Does anyone know if the OU of a user can be retrieved via a script ? I am using the following to TRY and set the description of the user to its OU (dont ask). but I cant find an OU parameter or similar that i can query. For Each objUser in objDomain     objUser.description=objuser.ou