Results 1 to 10 of 10

Thread: [RESOLVED] Adding user to specific distribution list.

  1. #1

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Resolved [RESOLVED] Adding user to specific distribution list.

    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!

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Adding user to specific distribution list.


  3. #3

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Re: Adding user to specific distribution list.

    Thanks mendhak for the link this is a big help from you

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [RESOLVED] Adding user to specific distribution list.

    That's one small search for mend, one giant leap for popskind.

  5. #5
    New Member
    Join Date
    Jan 2010
    Posts
    4

    Re: [RESOLVED] Adding user to specific distribution list.

    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

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [RESOLVED] Adding user to specific distribution list.

    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

  7. #7
    New Member
    Join Date
    Jan 2010
    Posts
    4

    Re: [RESOLVED] Adding user to specific distribution list.

    Hi Moderator,

    Thanks for the quick reply.. I will try the code .

    Thanks for your help...

    Varun

  8. #8

  9. #9
    New Member
    Join Date
    Jan 2010
    Posts
    4

    Re: [RESOLVED] Adding user to specific distribution list.

    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

  10. #10
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [RESOLVED] Adding user to specific distribution list.

    It's best if you create another thread for this. In any case, show your code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width