Add all Authenticated Users programatically

Posted on 2009-05-01
Last Modified: 2012-08-14
Is there a way to add all authenticated users programatically?

To do this via SharePoint manually I have to click a url located in Site Settings > Permissions > Add Users there is a link that does this.
Question by:Ledev
    LVL 17

    Expert Comment

    Create a group and it will be an option when you go to add users to that group.

    Author Comment

    Thanks GreatGerm, but I am looking for a way to do it via the .NET API. Anyone have any other ideas?

    I have researched it a bit and it looks as though it might have been intentionally left out for security reasons.

    LVL 17

    Accepted Solution

    Must have been half asleep when I first responded.  The answer, as you seem to have picked up on, is no and it's on purpose since the server/farm would be overrun with users.
    LVL 17

    Expert Comment

    Did you need any more clarification on this topic Ledev?  If not, then please mark this as accepted so others know they can benefit from reading this.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    I. Introduction In a previous article ( (now deprecated), I discussed how to upgrad…
    This article provides the solution to a question ( posed here at Experts Exchange. The asker of the question has many JPG images in many folders, and all of t…
    We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…
    This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 ( But the ability to create custom scanning profiles al…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now