Re: żIs it possible to create a contact in Exchange 2007 with webdav operations?
- From: "Glen Scales [MVP]" <gscales@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 24 Oct 2008 11:37:42 +1100
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
.
- Follow-Ups:
- Re: ¿Is it possible to create a contact in Exchange 2007 with webdav operations?
- From: shades_80 via WinServerKB.com
- Re: ¿Is it possible to create a contact in Exchange 2007 with webdav operations?
- References:
- Re: ¿Is it possible to create a contact in Exchange 2007 with webdav operations?
- From: shades_80 via WinServerKB.com
- Re: żIs it possible to create a contact in Exchange 2007 with webdav operations?
- From: Glen Scales [MVP]
- Re: ¿Is it possible to create a contact in Exchange 2007 with webdav operations?
- From: shades_80 via WinServerKB.com
- Re: żIs it possible to create a contact in Exchange 2007 with webdav operations?
- From: Glen Scales [MVP]
- Re: ¿Is it possible to create a contact in Exchange 2007 with webdav operations?
- From: shades_80 via WinServerKB.com
- Re: żIs it possible to create a contact in Exchange 2007 with webdav operations?
- From: Glen Scales [MVP]
- Re: ¿Is it possible to create a contact in Exchange 2007 with webdav operations?
- From: shades_80 via WinServerKB.com
- Re: ¿Is it possible to create a contact in Exchange 2007 with webdav operations?
- Prev by Date: HrOpenExchangePublicStore fails redux!
- Next by Date: Re: Reading attachments from exchange server email
- Previous by thread: Re: ¿Is it possible to create a contact in Exchange 2007 with webdav operations?
- Next by thread: Re: ¿Is it possible to create a contact in Exchange 2007 with webdav operations?
- Index(es):
Relevant Pages
|