Hi,
We have a requirement from the client which to add a user from Active Directory to specific distribution list or groups. Anyone on this forums has already experienced or a tutorial. We used c#. thanks!
Printable View
Hi,
We have a requirement from the client which to add a user from Active Directory to specific distribution list or groups. Anyone on this forums has already experienced or a tutorial. We used c#. thanks!
Thanks mendhak for the link this is a big help from you
That's one small search for mend, one giant leap for popskind.
Hi All,
I have list us AD user ID. I need to create a distribution list and then to add those members in that.
I am pretty new in this technology area, can anyone help me build this code:
1. Create a distribution list.
2. Add users to distribution list.
Waiting for your reply eagerly....
Thanks
Varun
Hi, welcome to the forums.
http://www.codeguru.com/csharp/cshar...cle.php/c9729/
(This article has attached files you can take code from)
There's another example from MSDN (VB.NET) here:
http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
Hi Moderator,
Thanks for the quick reply.. I will try the code .
Thanks for your help...
Varun
Hey,
Chris128 also has a number of Active Directory related posts in the CodeBank that you might find interesting:
http://www.vbforums.com/showthread.php?t=555544
http://www.vbforums.com/showthread.php?t=596082
http://www.vbforums.com/showthread.php?t=535091
http://www.vbforums.com/showthread.php?t=590129
Gary
Hi All,
With help of all of you, I managed to write code to create a group in AD.
I am facing a new issue:
AD group is getting created but the group type is getting set as security.
I need to create a group but need to set Group Type as 'Distribution'.
Can any body tell me how to set that?
Varun
It's best if you create another thread for this. In any case, show your code.