Hi Navaroff

DSQUERY User -samid "samid"

Although in ADUC you can see this by doing a search for the name, looking
at properties then going to the object tab.

Regards;

James R. Day
Active Directory Core Team
Office of the Chief Information Officer
National Park Service
202-230-2983
[EMAIL PROTECTED]


|---------+---------------------------------->
|         |           "Navroz Shariff"       |
|         |           <[EMAIL PROTECTED]|
|         |           .org>                  |
|         |           Sent by:               |
|         |           [EMAIL PROTECTED]|
|         |           tivedir.org            |
|         |                                  |
|         |                                  |
|         |           01/04/2006 12:36 PM EST|
|         |           Please respond to      |
|         |           ActiveDir              |
|---------+---------------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                 |
  |       To:       <[email protected]>                              
                                                 |
  |       cc:       (bcc: James Day/Contractor/NPS)                             
                                                 |
  |       Subject:  [ActiveDir] Locating which OU a specific use account is in  
                                                 |
  
>------------------------------------------------------------------------------------------------------------------------------|




Dear list,

Does anyone know of a script that, when a domain username is entered, would
locate which OU the account is located in if, for the sake of argument, the
OU structure in AD was designed in a way that user accounts were separated?

Thanks advance,

-Nav



List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to