User Object User Interface Mapping

Table B-14 through Table B-20 show user object names displayed in the Active Directory Users and Computers tool as they map to names available via ADSI scripting.

Table B-14. User Object General Property Sheet

UI label

Active Directory attribute

First Name

givenName

Last Name

sn

Initials

initials

Description

description

Office

physicalDeliveryOfficeName

Telephone Number

telephoneNumber

Telephone: Other

otherTelephone

E-Mail

mail

Web Page

wwwHomePage

Web Page: Other

url

Table B-15. User Object Account Property Sheet

UI label

Active Directory attribute

Comments

UserLogon Name

userPrincipalName

LDAP = logonPrincipalName, which prefixes the Logon Name drop-down list and adds the full text to the attribute.

User logon name (pre–Windows 2000)

sAMAccountname ...

Get Microsoft® Windows® Scripting Self-Paced Learning Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.