Title: Message
Joseph,
 
I won't argue that sometimes Microsoft makes things hard.  That would be silly.
 
However, in this case, you seem to be trying to use your head as a hammer and are knocking yourself silly banging it against the wall.
 
ADSI is not that hard.
 
1. Stop trying to read the schema objects and mess with property lists.  It's totally unnecessary for your task.
2. Stop trying to make ADSVW do something.  It's far beyond the scope of your problem statement - update the phone number.
3. Go back and look at the sample code I sent last friday.  It pulls the phone number quite successfully.
4. If you want to update the phone number, just add the following two lines to my second sample:
    $objUser->Put("telephoneNumber","1-201-555-1212");
    $objUser->SetInfo;

Reply via email to