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

    objUser.SetInfo

next

Reply via email to