Hide Ribbon Bar for anonymous User

how to  hide the ribbon bar from anonymous user 

hi 
i used <div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle" style="display:none">
and then i placed the following code below <div id="s4-workspace">
<Sharepoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl2" runat="server" PermissionsString="AddAndCustomizePages">
    <script type="text/javascript">
        document.getElementById("s4-ribbonrow").style.display = "block";
    </script>
</Sharepoint:SPSecurityTrimmedControl> 
The Blue ribbon is not visible in sharepoint designer but when i am trying to publish and view in the browser  the blue ribbon is still visible 
can you please correct me what i am doing wrong 
Thanks & regards

Similar Messages

  • How hide ribbon bar for read only users from custom master page.

    Hi,
    I want to hide the ribbon bar for read only users, on my custom master page I put inside of a SharePoint:SPSecurityTrimmedControl this div: <div id="ms-designer-ribbon">, but when I  save the changes the master page does not work
    anymore.
    <!--MS:<SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AddAndCustomizePages">-->
    <div id="ms-designer-ribbon">
    <!--SID:02 {Ribbon}-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify) --><div class="DefaultContentBlock" style="background:rgb(0, 114, 198); color:white; width:100%; padding:8px; height:64px; ">The SharePoint ribbon will be here when your file is either previewed on or applied to your site.</div><!--PE: End of READ-ONLY PREVIEW -->
    </div>
    <!--ME:</SharePoint:SPSecurityTrimmedControl>-->
    I'll appreciate any suggestions in order to solve this.
    Regards.

    did you close browse and open a fresh session?
    also authericationrestrictions for add & customize people so its more than read...
    check this one
    http://msdn.microsoft.com/en-us/library/jj822366.aspx
    another blog for same stuff:http://spgurunet00.web707.discountasp.net/post/2012/12/13/Hiding-SharePoint-2013-Ribbon-from-Anonymous-Users.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to hide 'Sign In' bar from anonymous users

    Hi guys,
    I am using a custom master page for a site. I want to hide the top white bar which contains the sign in link, for anonymous users; and display the sign in link somewhere else.
    I followed some other questions and wrapped "ms-designer-ribbon"
    in a Security Trim web part, but it still shows the bar for anonymous users.

    You can check the below thread
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d06897e5-b36d-4c65-bf77-c6ebc75d4e76/hide-sign-in-link-sharepoint-2013?forum=sharepointdevelopment
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Grant read permission on List for Anonymous user for public facing site in Sharepoint 2013 Online

    I have a public facing SP site ( SP online 2013 with Office 365 ). There are certain app parts added to it which read data from a
    custom list created on that site. By default anonymous users do not have read permissions list. I want users to see the list data without login in . I tried modifying the settings for anonymous users , however I am unable to do it as the "anonymous user"
    permissions cannot be checked by me.
    How do I provide read permissions to anonymous users?
    Thanks in advance

    once you make the web site online anonymous users get the read access to list.
    You can add the list view webpart and show the details to anonymous users. In the below link i have added the announcement list view webpart to a page.
    https://velegandla-public.sharepoint.com/Pages/Page.aspx
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • WPC content for anonymous user

    Dear SDNites
    We have recently started a project in which we are using Web Page Composer(WPC) for web content development. We have configured the WPC content for anonymous users. After the configurations, anonymous users could access this content without entering any user id and password. But after the restart of the portal, it started prompting login screens even for the anonymous users.We have checked all the required configurations and these seem fine to me. Can you please help me on how to resolve this issue?
    Best Regards
    Pavan

    Hi Pavan,
    Please refer to this thread.
    https://forums.sdn.sap.com/thread.jspa?threadID=948170&tstart=0
    https://www.sdn.sap.com/irj/sdn/thread?threadID=943740&tstart=150
    Hope this helps.
    Cheers,
    Sandeep Tudumu
    Edited by: Sandeep Tudumu on Jul 7, 2008 10:22 PM

  • BI 7.0 version report  for  anonymous user

    Dear Gurus,
    Greetings for the day!
    I want to display the BEX BI 7.0 version  report on Portal 7.0 for anonymous user. But I am not able to do the same. Can somebody please help me to achieve my task. Thanks.
    Regards,
    P.Swarna

    HI,
    Thanks for your reply,
    Its already configured and the reports working perfectly with login user ids( like end user).But when we assign same report
    to anonymous user with authentication scheme = anonymous in iview properties still its redirecting to logon page.
    Please suggest how to configure BI 7.0 report for anonymous users.
    Regards,
    P.Swarna

  • WPC for Anonymous user

    Dear All,
    We are on SAP NW 7.3 and trying to provide the WPC page for anonymous users.
    Have designed the WPC content, connected to a role and gave the role to anonymous user, but when we go to portal
    http://<host>:<port>/irj/portal/anonymous it gives a logon page. To resolve the issue have gone thru all the posts and recommendations but still the same error.
    Tried to follow the blog 'Webpage composer Anonymous User access' but in NW 7.3 can find the PCD location 'WebpageComposer', - but in templates we have the WPC Templates and have given the required permissions
    Also the security zones are changed.
    Has it something to do with the 'Staging Area' folder  (Navigating through the role Accesible Area Management -> content Editor), because when we create any new Area/Page(WPC Area/Page) it creates the same in this folder, which is present as a KM Folder. This folder does not allow to set the permissions (Accesible Area Management -> Content Library -> Staging Area -> Details -> Permissions)
    Your valuable suggestions would really help me to resolve this issue.
    Thanks,
    Srv

    Dear All,
    Got the reply from SAP to perform the below steps and its working fine for us.. just in case any one of you needs this info.
    1. Add the "authentication scheme" property to the WPC design time page template: a. Go to "System Administration" ' "Content Model Management" ' "Property Classification" b. Under "Object Type" select "Page" c. Under "Template" select "WPC Design Time Page" d. Under "Available Properties" locate "Authentication Scheme" and add it to the "Selected Properties" 2. Go to the Area Management Role and locate the area and the page that you would like to be available to anonymous users 3. Set End User permissions for "Anonymous" group on the area 4. Publish the page(s) and the area 5. Navigate to "Content Administration". Make sure the "Area Management"role isn't open in some other tab or browser window 6. In the Portal Content Catalog, locate the role which is available to anonymous users and has the WPC area connected to it. 7. Open the role, open the connection 8. For each page under the workset (area): a. Open the page b. For each iview and page under the page, open the iview/page and navigate to its properties: i. Locate the "Authentication Scheme" property and change it to "anonymous" ii. Save the object iii. For pages, open the page and perform the same process for each iview under the page iv. Save

  • Login Page coming for Anonymous User

    Hi All,
    we have configured anonymous user for our portal. Created a role for anonymous access - added pages and iViews under that. All the iViews and pages are modified with authentication scheme property to Anonymous.
    Now when we access the portal with the url http://host:port/irj its showing the login box in the top part of the page and in the bottom part its showing the anonymous role which we created.
    Let me tell you what we have done...
    Created role, iViews for Anonymous role, set the authentication property to 'Anonymous'.
    In Visual Admin-> Server-> Services-> UME Provider set the variable ume.login.anonymous_user.mode to 1.
    Variable ume.login.basicauthentication to 1.
    Variable ume.login.guest_user.uniqueids to Guest.
    Then we have updated the index.html file under <drive>:\usr\sap\<SID>\<instance_number>\j2ee\cluster\serverX\apps\sap.com\irj\servlet_jsp\irj\root .. we changed
    <b><body onload="location.replace('portal' + document.location.search)"></body></b>
    to <b><body onload="location.replace('servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.anonymous' + document.location.search)"></body></b>
    But now when a guest user accesses the portal http://host:port/irj it gived the strange screen (logon + content page) as I described earlier.
    Please let us know where are we missing...
    thanks & regards,
    Shubhadip

    Hi,
    1 .  I have created a iView and set the authentication scheme anonymous.
    2.  Also I created a role and added the iview to a role.
    3. The role has only 1 iview.  The entry pt is yes  for the iview
    4.  The role has permissions of end user for anonymous user.
    5 I checked the masthead iview also.. It aslo has authentication scheme anonymous
    When I try accessing the iView  in the form <http/https>://<server>:<port>/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fmyfolder!2fmyiView
    I am able to view it without any login..
    But when the url is accessed <http/https>://<server>:<port>/irj/portal/anonymous
    I see a login page in the Detailed navigation..
    Please help me solve this problem ..
    Thanks,
    Preeti

  • Remove Context Menu for KM Content for Anonymous User

    Hi All,
    I have implemented External Facing Portal and i have to show KM documents
    on Anonymous user home page. For This I have created JSP page and have
    created url iview for this created JSP application. On this JSP  page to access
    KM i have used below code
    <iframe src ="/irj/go/km/navigation/documents/Public%20Documents" > </iframe>
    Now i am able to see the KM Contents of Public Documents on my Anonymous
    user Home Page .But here i need  to remove the context menu for KM Content
    for Anonymous User , but the context menu should come for Logged in user.
    How to do this ??
    Regards,
    Piyush

    solved

  • Search suggestion not working for anonymous user in sharepoint 2013

    Hi ,
    Please help on this search suggestion not working for anonymous user in sharepoint 2013
    shaik

    You can create a search center site, and set the search center site to
    allow anonymous access.
    Also see this link - http://blog.mastykarz.nl/search-query-suggestions-anonymous-users-sharepoint-2013-mavention-query-suggestions/ 
     (As this is regarding a 3rd party tool, I suggest that you direct it to the  provider support.)
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How the profile id has been created for anonymous user

    hi all,
    when i print the ShoppingCurrent.current the below line is displaying
    Order[type:default; id:o1030002; state:INCOMPLETE; transient:true; profileId:1310002; ]
    in that how the profile id has been created.
    thanks in advance
    shya

    User profile is created when a request is processed by the ProfileRequestServlet in the ATG servlet pipeline and is made available as session scoped Profile object for each user. Profile object has a dataSource property which points to the underlying RepositoryItem. For anonymous user, the underlying RepositoryItem created through ProfileRequestServlet remains transient by default. Therefore you won't find the item in the repository or database with that transient repository item's id. You can change this default behavior if you want by changing the persistentAnonymousProfiles property of the ProfileRequestServlet component to true which will create a new profile in the database for each anonymous visitor.

  • Where can I change desktop for anonymous user ?

    Hello.
    Where can I change desktop for anonymous user ? I'd like to change it in the same manner as sampleportal desktop (with amconsole) , but I did not found it in the amconsole.
    If you know, please, tell.

    The user "authlessanonymous" holds the information that people see if they are not signed on. It can be changed like any other user. It may have to be enabled under the Service Configuration tab -> portal desktop.

  • IView Personalization (Web Dynpro Java) for Anonymous User

    Hello All,
    Is it possible for anonymous user to see iView personalization (Web Dynpro Java) when personalized by an administrator?  What I did was create new role and iView making available to anonymous user.  This work fine meaning I can view iView using URL http://<servername>:<port>/irj/portal/anonymous .  But the personalization I made to iView using administrator mode launching iView in preview mode and then using personalization dialog by choosing Ctrl and secondary mouse button to personalize is not showing.  Iu2019m currently on EP7 SP15 and using iView type Web Dynpro Java for the development component sap.com/tcsecumewdenduser application name LogonHelpApp.  
    Any help is very much appreciated.
    Many Thanks,
    Gary

    Hello Michael,
    Yes, the Web Dynpro  for Java Personalization is working perfect for non-anonymous users.  The issue is when I view same iView using anonymous URL http://<servername>:<port>/irj/portal/anonymous the personalization is not showing just defaults back to the original Web Dynpro Java application settings.  The iView that I created and personalized is the new Logon Help Dynpro Java application (LogonHelpApp).  Is there some permissions that restricts anonymous user to view personalization?
    Koti Reddy Iu2019m using the Web Dynpro for Java Administrator Personalization.  Here is the documentation [http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/frameset.htm |http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/frameset.htm ]
    Thank You for your help,
    Gary

  • Loading swf files for anonymous user login

    Hi,
    We are having swf file retrieving from oracle database in home page. I can able to view swf file for normal users, but anonymous user login, not able to see swf file in the page. Other image format like jpg/gif files anonymous user login images are loading properly. Pls. kindly advise, where issue occurs.
    kumar. G

    Hi Ram
    Thanks for your response. Let me know, how to connect to oracle database for anonymous user login. Based on that i will work around that approach for fixing this issue.
    By
    kumar. g

  • Disable rating service for anonymous user

    Hi,
    I'm trying to set permissions for anonymous users so they couldn't do anything else except displaying the documents in KM I want to disable their access to other services allowed for other users (e.g.. Subscription, Feedback, Discussion, Rating etc.).
    What I made so far: I've set permissions and service permissions to the Folders, created role with added Authentificated Users group and I added this role to property Roles with visibility in System administration/System configuration/Knowledge management/Content management/User interface/Commands/UI commands. This way, I set command permissions for every command I thought the anonymous user could see.
    Almost everything worked fine, i.e. anonymous user has disabled almost every unnecessary option, but he can still see Rating option in the context menu next to the file/folder. I set the permission to Rating UI command, but it didn't work.
    Can anyone suggest what else could be done so the anonymous user won't be able to rate documents?

    Thank you for your answer, but I know this note and I've done everything what's in it.
    I have functional anonymous login and anonymous user can only display documents, search them and RATE them. But I can't figure out how to disable the rating service just for anonymous user, not other users.
    That note won't help me with that.
    Marek

Maybe you are looking for

  • Reconciliation for the deleted user accounts on Target Resource

    Hi, I am trying to run reconciliation on a DB Table as the target resource. It is linking the user accounts that are present in the target resource. But for the user accounts that are deleted on the target resource Reconciliation is not showing any a

  • How can move Grid Control Repository to other server

    hi, We need to move our Oracle Grid Control Repository to Other server due to some Server Issuse....can someone helpme out...... OMR and OMA : Server A (Windows 2003 Server) OMS : Server B (Windows 2003 Server) Target Server : Server C (Windows 2003

  • Multiple images (thumbnails) and the Mediaplayer

    I confused about how to approach the concept of OSMF's Mediaplayer working with something like a scrolling list of thumbnail images. I understand that you can have multiple instances of the Mediaplayer, but how do you work with the addEventListeners?

  • Logging Subsystem

    Hi, I would like to create a new Logging subsystem entry in the select list that is available for the Domain log filter(the one that does include EJB, Cluster, RMI, IIOP etc..). In my application code I do: new weblogic.logging.NonCatalogLogger("MySu

  • Indeterminate progress bar

    There is an ancient thread on the subject already, but with no answer, so i decided instead of ressurecting that one to start a new qestion? How to create a indeterminate progress bar, when you can't update/acces the palette with te script (for examp