Thanks Sakari (& Dèjì). That's how I set it up and it worked fine. I appreciate 
the pointers, as
always.

<mc>
________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Sakari Kouti
Sent: Friday, May 27, 2005 8:11 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] deleting specific values from multi-val attribute

Hi Mark,
 
You would use a line such as the following:
 
Const ADS_PROPERTY_DELETE = 4
Call objUser.PutEx(ADS_PROPERTY_DELETE, "otherHomePhone", _
      Array("111-1111","444-4444"))
 
This would delete the two numbers specified (111-1111 and 444-4444).
 
Yours, Sakari
 

________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Creamer, Mark
Sent: Thursday, May 26, 2005 5:18 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] deleting specific values from multi-val attribute
We have a multi-values custom attribute that is used with one of our 
applications. Some of the values
stored there for some users are obsolete and I've been asked to clean them up. 
So I'm looking for a
method to look at each user object, enumerate the values in this specific 
attribute, and delete the
value that matches what I'm looking for, while leaving the other values of the 
attribute alone. Any
advice on this? I have some scripts I can alter - I just need to understand the 
enumeration of the
attribute values. Thanks

Mark Creamer
Systems Engineer
Cintas Corporation


This e-mail transmission contains information that is intended to be 
confidential and privileged. If
you receive this e-mail and you are not a named addressee you are hereby 
notified that you are not
authorized to read, print, retain, copy or disseminate this communication 
without the consent of the
sender and that doing so is prohibited and may be unlawful. Please reply to the 
message immediately by
informing the sender that the message was misdirected. After replying, please 
delete and otherwise
erase it and any attachments from your computer system. Your assistance in 
correcting this error is
appreciated.


This e-mail transmission contains information that is intended to be 
confidential and privileged.  If you receive this e-mail and you are not a 
named addressee you are hereby notified that you are not authorized to read, 
print, retain, copy or disseminate this communication without the consent of 
the sender and that doing so is prohibited and may be unlawful.  Please reply 
to the message immediately by informing the sender that the message was 
misdirected.  After replying, please delete and otherwise erase it and any 
attachments from your computer system.  Your assistance in correcting this 
error is appreciated.
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to