#92235 - 2003-06-23 07:44 PM
Re: How do you create blank fields with ADSI on AD
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11628
Loc: CA
|
I think I have it now Howard.
Seems you have to use the "description name" on the forms along with the putEX and the $ADS_PROPERTY_CLEAR = 1
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/adsi/modifying_attributes_with_adsi.asp
quote: ADS_PROPERTY_CLEAR = 1 ADS_PROPERTY_UPDATE = 2 ADS_PROPERTY_APPEND = 3 ADS_PROPERTY_DELETE = 4
ADS_PROPERTY_CLEAR Instructs the directory service to remove all the property value(s) from the object.
ADS_PROPERTY_UPDATE Instructs the directory service to replace the current value with the element(s) in the passed VARIANT array.
ADS_PROPERTY_APPEND Instructs the directory service to append the new value(s) to the existing one(s).
ADS_PROPERTY_DELETE Instructs the directory service to delete the specified value(s) of a property.
This code works.
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 874 anonymous users online.
|
|
|