Re: żIs it possible to create a contact in Exchange 2007 with webdav operations?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Because you are modifying the properties of the distribution list manually
there is nothing that is going to stop you adding two address's or adding a
corrupted address and making the DL unusable. You need to add your own code
that will check for existing entries to prevent duplicates and for deletes
you need to add code that can find the existing entry you want to delete and
the remove that entry from the property values.

Cheers
Glen


"shades_80 via WinServerKB.com" <u46887@uwe> wrote in message
news:8c1abdf7f5e36@xxxxxx
Glen:

As always thanks a lot, the c# application is taking shape as the time is
passing. Now the new program lets to add contacts to the distribution list
from a public folder. Nevertheless I still have some doubts and if you let
me
I would expose them.

Which of the fields used to add a contact to the distribution list
represents
the id of the contact?
I make that question because I could add 2 times the same contact (ziggy,
ziggy@xxxxxxx) to the distribution list using the following code and I
supose
that it isn't right.

.......................
.................
........
String oneoffprefix = "00000000812B1FA4BEA310199D6E00DD010F540200000180";
String oneoffpadd = "0000";
String oneoffhex = oneoffprefix +
ConvertToHex("ziggy") + oneoffpadd +
ConvertToHex("SMTP") + oneoffpadd +
ConvertToHex("ziggy@xxxxxxx") + oneoffpadd;
Byte[] oneOffarray = HexStringToByteArray(oneoffhex);

String WrappedEntryIDPrefix =
"00000000C091ADD3519DCF11A4A900AA0047FAA4C3";
String ContactEntryID = "0000";
Byte[] Membersarray = HexStringToByteArray((WrappedEntryIDPrefix +
ContactEntryID));
.......................
.................
........


Do you know how to drop contacts from the distribution list?


Cheers, Memo.

p.d. As you have seen am not a master in exchange development,
nevertheless i
don't pretend you to tire with all my doubts. Thanks in advance !!

--
Message posted via http://www.winserverkb.com



.



Relevant Pages

  • Re: amd64 cpu_switch in C.
    ... >>The only appreciable downside is that it lowers the barrier of entry for ... >>modifying a very sensitive piece of code. ... this isn't a valid reason. ...
    (freebsd-arch)
  • Re: UseNet Personalities article on Wiki
    ... James Nicoll wrote: ... That's the name of my late uncle and I prefer to use it all or not ... an entry modifying that entry? ... people and organizations modifying entries that pertain to them ...
    (rec.arts.sf.written)
  • Re: UseNet Personalities article on Wiki
    ... an entry modifying that entry? ... Note that for some reason bits of information that are accepted ... to modify one's own account. ... The reason I'd expect my modifying the ...
    (rec.arts.sf.written)
  • Including a directory along with its subdirs in path
    ... I work under the TC shell and I would like to add a directory, ... with its subdirectories, to my path, modifying the corresponding entry ...
    (comp.unix.questions)