dino wrote:
[Quoted Text] > Modify Users Accounts Address Attributes in my Active Directory
The attributes that correspond to fields in ADUC for user objects are documented in the first spreadsheet in this link:
http://www.rlmueller.net/UserAttributes.htm
A VBScript example: =========== Set objUser = GetObject("LDAP://cn=TestUser,ou=Sales,dc=MyDomain,dc=com") objUser.streetAddress = "123 Any Street" objUser.l = "Chicago" objUser.st = "Illinois" objUser.postalCode = "60611" objUser.co = "US" objUser.SetInfo
You can also use csvde or ldifde, and other tools to assign values to the attributes.
-- Richard Mueller Microsoft MVP Scripting and ADSI Hilltop Lab - http://www.rlmueller.net --
|