"Roger" <hain...@nationwide.com> wrote in message news:eg0Wr8cu...@TK2MSFTNGP10.phx.gbl...
"Richard Mueller [MVP]" <rlmuelle...@ameritech.net> wrote in message news:Ocp$zkeuDH...@TK2MSFTNGP11.phx.gbl...
"Roger" <hain...@nationwide.com> wrote in message news:umTKOveu...@TK2MSFTNGP09.phx.gbl...
"Richard Mueller [MVP]" <rlmuelle...@ameritech.net> wrote in message news:un0ZrZg...@TK2MSFTNGP11.phx.gbl...
Hi,I have an example program to modify user objects with values from a spreadsheet linked on this page:The program reads the user Distinguished Name from the first column of the spreadsheet. This example modifies the "profilePath" attribute, but almost any attribute, including sAMAccountName, can be updated this way. The program also shows how to "null" an attribute (remove any value). If you plan to modify the "cn" attribute, of course, you will have to use the MoveHere method of the parent container object.Also, you are correct about the SID's.
Does your spreadsheet identify users by DN or sAMAccountName? By DN, however, these values are the same throughout the domain. (Supposed to be anyway :) ) Are the first name (givenName) and last name (sn) attributes populated with values in your AD, No, some are but I would say most are NOT. these are values that we want to provide in the spreadsheet to clean things up. so you can use these values to construct the new names, or will everything be supplied in the spreadsheet? Everything provided in speadsheet. Is your intention that the value of sAMAccountName be the same as the value of cn? Yes, we want these to match.
What is the end question? Is there some way to shorten the post and just
list what the final question is?
Sincerely,
Max Vaughn [MS]
Microsoft Developer Support
Disclaimer: This posting is provided "AS IS" with no warranties, and
confers no rights. You assume all risk for your use.