.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to Disable Add all authenticated users link in Add user page of Sharepoint

Posted By:      Posted Date: October 22, 2010    Points: 0   Category :SharePoint


I want to disable the link "Add all authenticated users " appearing on "Add user" page. Is there a way to disable or remove this link from the "add user" page.

I referred a blog http://sfguyalex.blogspot.com/2008/08/all-authenticated-users-please-stand-up.html where it mentions to remove the link by editing page in 12 hive AclInv.aspx.

Before doing that, is there any way thru configuration I stop users by clicking on this link?




View Complete Post

More Related Resource Links

AutoLogin for authenticated user via LiveID in Sharepoint 2010 (Claims Based Authentication)

Hi,     Im working in integrating LiveID authentication in my Sharepoint site. Live id gives back a token of the user with which i created a dummy profile using MembershipProvider.CreateUser. Now i have to auto login the user with the profile i created, i mean i have to force login to my sharepoint site using the created dummy user details without asking the user to give username n password.Any suggestion will be a great help for me to proceed.   Thanks Saravanan Michael

How do I allow some .net pages to be used from a login page before the user is authenticated?

Ok, I have a .net homepage (viewable and useable to everyone) which is "login.aspx".  There is a header with a menu and three columns under that.  The header has a "home" button which will display a page (standings.aspx) with data from a gridview control which gets its data from an access db in a directory called Access_DB from the root level of the site. The next menu in the header is "Schedules", which uses the same db and a set of .aspx files (i.g. MondaySched.aspx, ThursdaySched.aspx, etc) to populate NFL schedules in various formats, and the last column "About" is just some html files.  All of this data is placed in an IFRAME in the middle column of the page.  The left column is where the login textboxes/submit button reside, the last column is just some html.I am using form level authentication as follows:<authentication mode="forms"><forms name="BTGAppSec" loginUrl="login.aspx" protection="All" timeout="30" path="/" /></authentication><authorization><deny users="?" /></authorization>The problem is when you go to the site and it tries to load the "standings.aspx" into the IFRAME on page load, it sees that as an unauthorized user and sends the IFRAME back to login.aspx.  So what you get is a &qu

add user login name to a link on a page

Hi guys, Hi guys I have a link to another server on one of my portal pages. I need to add a user login name to it. So link "http://anotherserver" should change to "http://anotherserver/AppsLocalLogin.jsp?username=<username>". I see here 2 parts: 1 - get user login name 2 - add it to link Any ideas?

Forms Authentication sending user to LoginURL on first hit of page even though page has [allow users

On the first hit, and only the first hit, to my page having [ALLOW users="*"] in the web.config, the user is redirected to the LoginUrl, but on all subsequent visits to the page, the user IS allowed access.  The user shoud ALWAYS be allowed access to this page.  I suspect it is a configuration problem, so here are snippets of my web.config... <compilation debug="false" strict="true" explicit="true" /> <trace enabled="false"/> <authentication mode="Forms"> <forms protection="All" cookieless="UseCookies" requireSSL="false" slidingExpiration="false" timeout="20" name="12345678-1234-1234-1234-123456789012" loginUrl="~/Web/Login.aspx" defaultUrl="~/Web/MyPage.aspx" enableCrossAppRedirects="false" /> <authentication> <httpCookies httpOnlyCookies="true" /> <sessionState cookieless="UseCookies" />         <location path="Web/Contact.aspx"> <system.web> <authorization> <allow users="*"/> <authorization> <system.web> <location>   Can you help me figure out why users are not ALWAYS allowed access to the /Web/Contact.aspx page? Thx!      

Forgot Password link in Sharepoint FBA login page

Hi All,      I want to keep the Forgot Password link in the login page of the Sharepoint FBA Site.     For this, i have make a copy of the login page in the 12 Hive and added an anchor tag by giving link to Forgot Password (FP) page in custom login page. The FP page is located in one of the document library, for which i have given anonymous access to view items there. Its all good, and i am able to navigate to FP page. But i dont want to show any other controls in the master page also to the anonymous user. And one more thing, i have two zones 1)Intranet and 2)extranet, i want to show different FP pages for both. How can i do this...? Please suggest me with this issue...... Thanks in advance

Give permission to all users of a customized sharepoint portal, where all the user controls of the w

Hello there

I have created a sharepoint portal and customized it. I have created my own master page and there are many webparts implemented. This has been hosted in a MOSS server. When a normal user is trying to access the portal first thing in the morning, he is getting a "You are not authorized to view this page" error. But when a site admin access the site, there is no issue and he is able to access the site. The site admin does nothing in the site and once he has logged in to the site,  the user is able to access the site without any trouble.

I have found what was causing the issue. But dont know whats the fix for it.

The issue is...We were trying to place all the usercontrols created as part of our application in a seperate folder under ControlTemplate folder. This is what was not allowing the users who are not site admins. But it was ok, when the admin first accesses the same.

WHat is the fix for this ... to make the new folder accessable to all users ??

Kindly help...

Sharepoint 2010 popup page issue while sign in as diferrent user


We have a SharePoint 2010 portal in which one of the functionalities opens a list item add form as a popup. We customized this add form using SPD by adding the following java script functions.

<script type="text/javascript">



function PreSaveAction()

 var reqType= document.getElementById("ctl00_xxxxxxxxxxxxx_ctl00_Lookup").value;
 reqType= reqType.replace(/^\s+|\s+$/g, '');

 var reqDesc= document.getElementById("ctl00_xxxxxxxxxxxxx_ctl00_TextField").value;
 reqDesc= reqDesc.replace(/^\s+|\s+$/g, '');
 var error="";
   error=error+" &";
  error=error+" Description";

 error=error+ " can not be empty";

How to automatically Authenticate User on External Site once Authenticated on SharePoint Site


We analyzing the implementations approach, for a scenario.

  1. External Site: To log-in to external site which has its own user store and is hosted on different domain. So user has to provide his user id and password for logging in to external site like e.g.  DOMAIN1\UserName & Password

  1. SharePoint Site: This site is hosted on different domain other than DOMAIN1 and has got windows/forms authentication. So the user to login to SharePoint site has to provide SharePoint site Credentials DOMAIN2\UserName & Password.
  2. SharePoint Web Part which shows external site in IFrame and allows user to perform CURD operation once the user is authenticated in external site.

What we want is once user login to SharePoint site using (Forms/Windows) authentication, he should be automatically authenticated in External Site (using some mechanism) the logged in user credentials are picked up from some store based on his sharepoint username and system authenticates the user on external site.

Any pointers to code/blogs/articles would be really helpful.

Akhilesh Nirapure

Creating MS Word Document programatically in sharepoint foundation as Link Button on Master Page?



Can any body help me how to create a new document programatically for OnClick of  a LinkButton on my Homepage  as per the requirement.

I had installed MS OfficeWebApps on my Development Server which its working fine but the "Create Document " is on Top Ribbon for which the link should be on the right side of the Content Page of Home.Aspx as per the req.

Pls guide me how to achieve this.


Thanks in Advance !!!!




Thanks in Advance !!! Cheers !!! Praveen

Can the Best Practices link on the SharePoint 2010 Upgrade home page get fixed?

The Best Practices link on the SharePoint 2010 Upgrade page goes to a page in SPS2003


Any chance of getting that fixed, so it goes somewhere to talk about upgrading to SharePoint 2010?

Original page: http://msdn.microsoft.com/en-us/sharepoint/ee514557.aspx

Link title: Best Practices for Ensuring Application Reusability and Upgrade in Windows SharePoint Services

Drops you right into SPS2003 documentation.

Seems an embarrassing bug.

Hide SharePoint Ribbon for anonymous user (Not the Sign In Link)



We need to hide the Sharepoint 2010 ribbon for anonymous users. But we should have the Sign In Link (which is a part of the Ribbon, I believe). Please let me know the steps for this.

The Sharepoint site has been setup for custom form based authentication.


Aritra Saha.

Sharepoint 2010 - Lists not displaying Edit (Link to item) for Users with Edit Only access



I am using Sharepoint 2010.  I have several lists whose view includes the column "Edit (Link to Item)" in the default view.  I am the site admin so when I view the list the "Edit" column appears with the small "paper and pencil" icon and it works when clicked. 

I needed some users to only be able to view and edit existing items (not add or delete).  So I have created a site level permissions that I copied from "Read" and only checked the "Edit Items  -  Edit items in lists, edit documents in document libraries, and customize Web Part Pages in document libraries" under Lists. 

This new permission level does allow users to see the edit menu item on the standard "Title" hyperlink dropdown, but in the"Edit" column there isn't an icon or any clickable link to edit in the column.  Only from the menu.  Its as if the icon won't appear if I don't give them Add capability which is what I don't want.

 Thanks for any tips,






NT Authority / Authenticated Users not seeing any sites in SharePoint 2010

I have a SharePoint 2010 publishing portal with multiple publishing sites under it. The requirement is to have NT Authority / Authenticated Users to login and view all home page and other sites.  This is working for team sites, when we just add them to the visitors group but not for publishing portal template. I also tried adding this to the Style Resource Group apart from visitors. Anyone help?

Automatic Redirection the user to sharepoint page after domain login



I have created some reports on report viewer webpart and have placed them on A,B,C aspx pages now i want to redirect the Users A,B,C to their specfic aspx pages A,B,C as applicable... after they are logged on sharepoint site through Domain Credentials.

Is it possible?



Create an Exit link which returns users to referring page

We are using SharePoint 2007. The users come to my site from a link setup on another site. I need to create an Exit link on the header of my main Site collection. When user clicks on this Exit link they should be send to the site or page they came from.

C# button to redirect user to a custom newform sharepoint page


I want to place a button in my C# web part  that will take the user to a new custom NewForm.aspx page I created.   I'm assuming this is straightforward but I can't find an example of the onClick event.  Can someone please assist?


Site Users Webpart - Add New User link Issue


Hi All,

We are using SharePoint OOTB Site Users webpart to display all the users in the respectives SharePoint groups. Its working fine. But, when we logged in as a user who has a member of visitors or members SharePoint groups, the user can able to see the "Add New User" link. Eventually, the link should not be displayed for members and visitors group.

Could any one face this issue? Is this bug in the SharePoint itself?

Kindly suggest.


Chandrasekaran C N


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend