Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 998
  • Last Modified:

Add all Authenticated Users programatically

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.
0
Ledev
Asked:
Ledev
  • 3
1 Solution
 
GreatGermCommented:
Create a group and it will be an option when you go to add users to that group.
0
 
LedevAuthor Commented:
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.

0
 
GreatGermCommented:
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.
0
 
GreatGermCommented:
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.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now