.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 Hide "VIew All Site Content" for non administrator user

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :SharePoint
Hi, I want to hide "view all site content" for non admin user but that user can access the form libray.actually there is a workflow using form library. I ve edit the permission level to hide view all site content but now the user can not use form library. so how can it b possible.kindly suggest.Regards- Sharad

View Complete Post

More Related Resource Links

Hide data for specific column from a user

Greetings, I have a problem. I would like to restrict showing specific users (or roles or schemas) data in a column. First I thought DENY option will do it but figured out that it won't. DENY denies the column being in the SELECT query. I would still like to call the column but if access to the data in that column is restricted it would show only null values and not the real ones. So... I would like call the next query from user TestUser: SELECT ID,Name,Address FROM Employee But if access to Address is restricted for TestUser I would get results like: ID Name Address 1 John Smith NULL 2 Rick Ross NULL ... Is it possible to do something like that in SQL Server 2005/2008? I was thinking of storing that kind of information in a table (for which tables, which columns for which users access is restricted) and then manipulate it on the application site but my programmers tell me that they use components which always call the full table (like SELECT *).  Thank you for your answer.

I need to hide the print button when user clicks print

using vb.net/asp.net 2005.when the user clicks on a linkbutton I am displaying records from my gridview, popping up a new window so that the user can print the records being displayed in the gridview, dvName is the name of the dive that encloses the gridview and gvName is the name of my gridview.The display and print functionality is working fine but the problem is that I am trying to hide the print button from being printed.  When the user clicks on print then all records (good) and the print button (not good) are being printed, here is the javascript that displays the records and the print button.function printDiv(dvName, gvName) { try{ var sOption="toolbar=no,location=no,directories=yes,menubar=no,"; sOption+="scrollbars=yes,width=750,height=600,left=100,top=25"; var countRows = 0; var gridview = document.getElementById(gvName); if(gridview != null) { countRows = gridview.rows.length; if (countRows > 0) { countRows = countRows - 1; } } var sWinHTML = document.getElementById(dvName).innerHTML; var winprint=window.open("","",sOption); winprint.document.open(); winprint.document.write('<html><LINK href=MyStyleSheet.

Error 15404 - Could not obtain information about Windows NT group/user 'Dev\Administrator', error


SQL Server 2008 R2 with the latest CU floods event log with "An exception occurred while enqueueing a message in the target queue. Error: 15404, State: 19. Could not obtain information about Windows NT group/user 'Dev\Administrator', error code 0x54b".

Domain controller is located on the same server (Win 2008 R2), this is SharePoint virtual machine. There are no DNS or Directory Service errors.

How can I troubleshoot this?


how to hide html controls if user logged in



I am combinning .aspx pages with some html pages.

If user logged in (use asp.net membership function), I need hide a html user control which is locatd in .html page (such as html input control), how can do that?



Hide View all site content link in Site Actions.


Hi all,

I had remove "View all site content" in left navigation bar, but i don't know how to hide "View all site content" link in Site Actions.

I don't want to hide "Site Actions", just to hide "View all site content" in "Site Actions" menu.

Any help is highly appreciated.



Hide Html table according to User Group

in my site i would like to hide an html table for specific user group , how do i do that with out using Visual Studio environment and with out using c# code is there any way that it can be done like in JavaScript , need a clear picture ....

Hide edit button on editform based on whether the user is item's creator


Hi Everyone


I would like to hide/show the edit button on a list item's edit form based on whether the user is the item's creator.  The reason I want to do this is because SharePoint's out-of-the-box behaviour is such that when a user edits someone else's item, the Access Denied page pops up AFTER the user makes his/her edits and presses ok.


My users want the edit button to be hidden so they don't have to go through the steps of making the edits, press ok, and then find out their access is denied.


I have done some research, and the approach I have arrived at is to create my own edit item user control, which has my own cutom code which checks if the user is the creator, and then hide/show the edit button.  I have 2 questions surrounding this:


1) Can anyone provide some advice or resources on the web which describes how to best implement an edit form user control and then integrate it into SharePoint so that the user control is only used on my particular list, and doesn't affect anything else in the site collection.


2) Can anyone suggest another approach perhaps requires less custom development effort than the custom user control approach?

Hide view all site content from the public


I just wanted to know how I can hide "View All Site Content" from the public only (read-only) access.

Thanks in advance.

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.

User profile sync failing after changing username when another administrator got married recently.

I changed the username in Active Directory for the administrator who set up most of our Sharepoint 2010 server and now neither she nor I (as domain admin) can manage library settings, services on farm, or a number of other places where apparently sharepoint relies on user profile sync to succeed to grant privileges.  Checking back in the logfiles, it would appear that sharepoint profile sync hasn't been working since the last cumulative update but no one noticed (I don't adminster the server) until the sharepoint admin user person got married and their username (and display name) changed.  Since then, many links are broken in both central admin and all other sites.  The error is always the following (the date/time changes obviously):  "


User cannot be found.


Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: a13766dc-6604-46ef-9abc-e5daade

Show/Hide fields on InfoPath based on context User Group Membership

I am reading a book on SharePoint 2010 Development by Wrox and although it is a good book, the InfoPath section is limited. I am Googling to see if I can find anywhere where i can perhaps have this type of functionality to hide and show a specific field based on their Group Membership?
Victor Palma

How to hide SQL Server password from user in an Windows Forms Application?


Using - VS 2005, SQL Server 2005 Express, Windows Forms Application


I am unable to find a way that hides the password to connect to database in case of a Windws Forms Application.

- app.config is accessible to the user, so connection strings an be read.

- app.config can't be encrypted as in case of ASP.NET applications

- hardcoding the password in the application in connectionstring still makes it possible to be discovered by a user

Vibhor Agarwal

SQL Login failed for user 'domain\Administrator' during CRM 4.0 installation



I am Trying to install CRM 4.0 on a windows server 2008 and on the last page when everything is installing I am getting Login failed for user 'domain\Administrator' CRM under SQL Server, I am logged it as the built-in adminstrator account. Do you have any suggestions?



How to hide the list column based on user login in SharePoint 2007

Hi, I have two different SharePoint group named 'Sales' group and 'HR' group. In a SharePoint list i have 10 columns. out of it i want to display 8 column for 'Sales' group and to show all the column for 'HR' group. I want to do this base on the user login. How can i achieve this?. Am using SharePoint 2007.

hide view all site content



did anyone has ever use the VASCSiteAction to hide all site content from the sharepoint site?

i have try to isntall it for my wss 3.0 site. but i dont see it in my site featers section.

i see that it can be use for wss 3 also. so i dont know why i dont see it.

i have hide the all site content with sharepoint designer. but the thin is i want this link to only be available for the administrator. removing the link using SPD it removes it for all user.

can someone help me with this?

The connected user is not an Analysis Services server administrator


Hi All,

Recently I took over a laptop which belonged to a collegae of mine who allready installed SQL 2008 R2 Developer Edition. Up till now there seemed to be no need to re-install. However yesterday I tried to connect to the AS server to update it's properties and ran into this message:

The connected user is not an Analysis Services server administrator. Only an administrator can make changes to server properties. (Microsoft.AnalysisServices.ManagementDialogs).

The thing is that I'm an administrator on this laptop, but with the above limitation simply cannot figure out how to grant AS administrative rights to myself. Any clues/workarounds on this ?

Kind regards,



Please remember to mark replies as answers or at least vote helpfull if they help and unmark them if they provide no help.

Hide style library form view all site content



We have upgrade our MOSS 2007 server to SharePoint 2010. We keep it in MOSS2007 Competible mode, so that end user cant see any changes.

But after upgrading, we have found "style library" in document library, which was not present in our moss 2007 server. It is an publishing feature of MOSS2007.

Now we want to hide this "style library" from the document library, we have deactivated publishing feature on site collection and site level. But still, we are not able to hide or deactivate the "style library". Can anyone tell why it is so and provide solution to hide this?

Any help appreciated!!!

Thanks in advanced!!!

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