|
-
May 31st, 2011, 12:47 PM
#1
Can't set altRecipient; what am I doing wrong
Hi,
I'm trying to set the altRecipient property (usede for email forwarding) in a user object without success. Here's the code:
DirectoryEntry entry = new DirectoryEntry("LDAP://" + userDN);
entry.Properties["altRecipient"].Value = forwardDN;
entry.CommitChanges();
entry.Close();
The error I get is: A constraint violation occurred
I really have no idea about what constraint I'm violating. Can someone please enlighten me.
Thanks,
Rob
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|