Monday, April 1, 2013

SharePoint "NT AUTHORITY\Authenticated Users" - FAQs

Who are AUTHORITY\Authenticated Users in SharePoint?
Every user Account that can logon to your network! So, If you want all of your AD users to access a SharePoint site, Grant access to "NT AUTHORITY\Authenticated Users" to the relevant SharePoint group. 'NT Authority\Authenticated Users' can also be used to grant access to users from multiple domains of your network.

Adding NT Authority\Authenticated Users to SharePoint

In SharePoint 2007, There was an easy way to add "NT AUTHORITY\Authenticated Users" by clicking "Add All Authenticated Users" link. But its removed in SharePoint 2010.

SharePoint 2010 "NT Authority\Authenticated Users" Missing
SharePoint 2010 "NT Authority\Authenticated Users" is not available from Address Book.
SharePoint 2010 "NT Authority\Authenticated Users" Missing
In SharePoint 2010, Microsoft Removed the NT AUTHORITY\Authenticated Users from Global Address book, so you will not find it there. But you have to type it MANUALLY into the names box and then hit resolve icon next to it. To Add all users to SharePoint site:
  • Click Site Actions >>  Site Permissions.
  • Click Grant Permissions.
  • In Select Users, enter "NT AUTHORITY\Authenticated Users"
  • Select the relevant SharePoint group and Click "OK"
Its also possible to Add under Web Application Policy with permission levels like Full control, contribute, Read, etc.
Add NT Authority\Authenticated Users to SharePoint
Remove "NT Authority\Authenticated Users" from SharePoint
Like any other user account, you can delete "NT Authority\Authenticated Users" from SharePoint.
  • Go to Site Actions 
  • Site Settings 
  • Click on "More..." from Quick Launch 
  • Select the "NT AUTHORITY\authenticated users" user 
  • Click on "Delete User from Site Collection" to disable "NT Authority\Authenticated Users" from SharePoint site collection.
Add "NT Authority\Authenticated Users" programmatically in SharePoint:
How to add programmatically “every user” group to a Sharepoint Site
    //Get the Reader Permission Level
    SPRoleDefinition readerRole = web.RoleDefinitions.GetByType(SPRoleType.Reader);

    SPUser allusers = web.EnsureUser("NT AUTHORITY\\Authenticated Users");

    SPRoleAssignment spRoleAssignment = new SPRoleAssignment(allUsers);
    spRoleAssignment.RoleDefinitionBindings.Add(readerRole);

    web.RoleAssignments.Add(roleAssignment); 
    web.Update();



You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...