Export Users

D

Diane Walker

We are running Windows 2000 Advanced Server. How do I export first name,
last name, telephone number, e-mail, and office? I used LDIFDE, but I don't
know the attributes in Active Directory.

Thanks.
 
O

Ozone

To get the attribute names, use ADSIEdit from the Support tools. Open the
domain container and look at a user account. Change the view to mandatory
and optional and look at the attributes for a user object. This will list
all of the available names for the attributes... This is a good approach to
finding attribute names.

HTH
Ozone
 
C

Cary Shultz [A.D. MVP]

Diane,

You would want to use the -l switch ( this is the lowercase letter 'L' )
followed by the specific attributes that you wanted to be included in the
output file. If you do not know what the attributes correct names are then
you have a few options. I like to create a user account object with the
fields populated that I need and then run a quick ldifde to see what they
are called.

So, your 'firstname' is know as 'givenName' in ldifde.
So, your 'lastname' is known as 'sn' in ldifde.
So, your 'telephone number' is known as 'telephoneNumber' in ldifde.
So, your 'e-mail' is known as 'mail' in ldifde.
So, your 'office' is known as 'physicalOfficeDeliveryAddress' in ldifde.

Yes, there is some weird capitalization going one here in ldifde....

HTH,

Cary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top