Ribbon only to content author and administrators

Hi,
Recently I have taken up SharePoint 2013 exam and I got bit confused for one of the question i.e.
Adventure works uses a SharePoint publishing site to host their public facing website at
http://www.adventureworks.com.The website gives external users the ability to register and sign in to the site to buy Adventure works products. You notice that publicly registered users see the SharePoint ribbon.
You need to ensure that SharePoint ribbon available only to content authors and administrators. What should you do?
A) In the SharePoint project add and Empty element and then use the <HideCustomAction>tag to hide the ribbon
B) Open the current site master page in SharePoint designer, place the Sharepoint:SPSecurityTrimmedControl control around the div tag with the s4-ribbonrow ID. Set the PermissionString
to ManageSubWeb.
C) In the SharePoint project. Create a user control and add the following code segment to hide the ribbon
Page Load method
If(UserHasPermissions(SPContext.Current.web.CurrentUser))
SPContext.Current.Site.CommandUIVisible = true;
Else
SPContext.Current.Site.CommandUIVisible = false;
D) Open the current site master page in SharePoint designer and then place Sharepoint:SecurityTrimmedControl control around the div tag with the s4-ribbonrow ID.Set the permission
string to AddAndCustomizePages
E) Open the current site master page in SharePoint designer, find a div tag with the s4-ribbonrow ID and the remove all of the contents of the div.
I feel that both options D and E are applicable but I couldn’t come to conclusion.
Please share your opinion the same.
Regards,
Sudheer
Thanks & Regards, Sudheer

Believe  the option D is correct, removing all the contents in the s4-ribbonrow ID will hide the ribbon for all users.
--Cheers

Similar Messages

  • Refreshing only portal content area and not the naviagtion area.

    Hello all,
              I want to refresh only portal content area without refreshing the navigation contents.
       Eg;- When i click on the any document present in the REPORTS folder in Detailed Navigation Area only the portal contents should get refreshed.

    Links on DTN?Are they on a custom Iview?? Then u control with url mode.
    If they are page links, i don think u cud restrict one WD application not to refresh when the whole page getz refreshed.
    <b>Plz don forget points, if it helped.</b>
    Regards,
    P.

  • Burned CDs will not sync to my ipod. I just replaced my computer with a different computer, unauathorizeed all previous computers, authorized the one i am now using, but only purchase content will transfer to my ipod.

    Burned CDs will not sync to my ipod. I just replaced my computer with a different computer, unauathorizeed all previous computers, authorized the one i am now using, but only purchase content will transfer to my ipod.

    Hi ballen13!
    I have an article here for you that may be able to address your question and provide some insight into this issue:
    Some songs in iTunes won't copy to iPod
    http://support.apple.com/kb/TS1420
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Itunes says that 5 computers are already authorized to be used with my account when trying to play music that will not sync to my Ipod, but when I go to deathorize all in the store, it says only one is authorized. If I deathorize in the store and Itunes

    10 GB of the 30 GB of music on my computer will not sync to my Ipod. This started after I got a new PC w/ windows 7 on it. All of the music, that will not sync, is music I bought and paid for through Itunes. When I go to the Itunes store it says I have only 1 computer authorized (the one I am on). When I try to play the music that is not getting synced, it says that 5 computers are already authorized. I have tried deathorizing the computers from Itunes and Itunes store. I have also tried deauthorizing the account. I am getting the same result. I have tried DRM stripping software but all seem to need Itunes or WMP to play the music in order to be re recorded without the DRM. In my mind there must be some simple way to really get the computers deauthorized from my account and be able to play the music that I paid apple for. Does anyone have any suggestions or is this common for apple,s products to do?

    In order to get those to work you will have to upgrade to Snow Leopard 10.6.8.
    Start by checking if you can run Snow Leopard:
    Requirements for OS X 10.6 'Snow Leopard'
    http://support.apple.com/kb/SP575
    The OS 10.6 Snow Leopard install DVD is available for $19.99 from the Apple Store:
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    and in the UK:
    http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    but nobody knows for how long it will be available.
    When you have installed it, run Software Update to download and install the latest updates for Snow Leopard, preferably the full 10.6.8 combo updater.

  • HT5071 Can I publish my work produced with iBooks Author and make it available (free of charge) for my students only?

    Can I publish my work produced with iBooks Author and make it available (free of charge) for my students only?

    Yes. Put it on your own server, and/or send it out via email.

  • Why am I recently unable to use my mouse to scroll email topics or content?  I can only use the up and down arrows keys to scroll.

    Why am I recently unable to use my mouse to scroll email topics or content?  I can only use the up and down arrows keys to scroll. I am able to use my mouse to scroll through internet searches.  It only seems to have affected my email messages.

    Try a restart.
    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one.
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    If the problem is still there, try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode - Mavericks
    Safe Mode - About

  • Unable to sync iPad to iMac. Get message 'iPad can't be synced because not enough free space to hold items in iTunes Library'. Only major content is iTunes U stuff. Deleted this on iPad and unticked iTunes U from syncing on iMac but message remains

    Unable to sync iPad to iMac. Get message 'iPad can't be synced because not enough free space to hold items in iTunes Library'. Only major content is iTunes U stuff (lots of videos). Don't download any music or other videos to iPad.
    Deleted iTunesU content on iPad and unticked iTunes U from syncing on iMac but message remains.
    Very frustrating.

    No longer a problem. After leaving a while and trying again the iPad and iMac successfully synced.

  • Sharing with others but only allow author and co-author to share the file with others

    I have tested this option but have difficults to have the proper function.
    If a co-author recieves a link to the document that the author has shared with him.
    What is the mechanism that hinders this person to read that file that the co-author has send him.
    I have been playing with myself in diffrent roles but running out of mail adresses and understanding.....
    Please give an explanation.
    regards

    In the sharing dialog (where you enter the email addresses) there is a link at the bottom that says "More options". This is where you can adjust the re-sharing options. Default is "Everyone the file is shared with can share it with others (at their own role or lower). The other option is "Only let co-authors share this file with others."
    After the file has already been shared you can change the sharing options by doing the following:
    Select the file in the Acrobat.com organizer (files tab)
    Select share file (either in the lower left of the window or select Share Document from the drop down menu)
    Click on Change options at the bottom of the menu that slides up from bottom left
    Co-authors have the same rights as an author and there is currently not a setting to prevent co-authors from sharing. If they do not need to have the same rights as an author, try changing them to a reviewer or reader and changing the share option to "Only let co-authors share this file with others."
    You can find more information about the different roles here.
    If I've misunderstood your question, please post again.

  • My email will only show the sender and subject lines, but no content.  What can I do?m

    My email will only show the sender and subject lines and does not show the content of received emails on my ipad.  How can I fix this?

    I am having the same problem. As recently as this morning, I could read entire hotmail emails on my iPhone 4  now, I can see only the sender &amp; subject. What us up? Any solutions? Thank you.

  • When I get messages from Barnes and Noble, the text is blank. If I hit reply or forward, I can then see the content. This only happens with Barnes and Noble. Any suggestions on how to view the content?

    When I get messages from Barnes and Noble, the text is blank. If I hit reply or forward, I can then see the content. This only happens with Barnes and Noble. Any suggestions on how to view the content?

    I'm sorry, but your sister, unless she had already turned on the "Find my iPhone" feature and the person who took the phone has not disabled it, is out of luck. She should report the theft to local police authorities, including the serial number of her iPhone. While her experience is unfortunate, there are good reasons why Apple cannot do anything else about it.
    I hope she gets her phone back.
    Best of luck.

  • TS1389 I only have 3 computers authorized and im trying to authorize this one, but when I try to, it says i already have 5 computers authorized. Help?

    I only have 3 computers authorized and im trying to authorize this one, but when I try to, it says i already have 5 computers authorized. Help?

    Deauthorize all then authorize the active computers.

  • TS1277 My iTunes won't let me authorize my computer. I have Windows 8 and have only 3 devices authorized through my account. What should I do?

    My iTunes account won't let me authorize my computer. I have Windows 8 and have only 3 devices authorized through my account. What should I do?

    Howdy scrafts,
    I would suggest this article named iTunes: Missing folder or incorrect permissions may prevent authorization found here http://support.apple.com/kb/ts1277
    Open Computer from the Start menu.
    From the Organize menu, choose Folder and Search Options.
    Click the View tab.
    In the "Advanced settings" pane under "Hidden files and folders," make sure that the "Show hidden files and folders" option is selected.
    Click OK.
    Navigate to the following location by either typing it into the address bar, copying and pasting it into the address bar, or clicking through the folder hierarchy listed:C:\ProgramData\Apple Computer\iTunes
    Right-click the SC Info folder shown and on the shortcut menu, choose Delete.
    Restart the computer.
    Take care,
    Sterling

  • ESS - LWE html documents visble only to content and GP admin roles

    Hi,
    Some of the content(the html documents) in LWE is only visible for the administrator but not to all the other employees. Like New hire check list for 'My first days' is not visible to all the users, but is only visible to the user with roles content adminstrator and GP roles.
    Is ther eanything that needs to be done to rectify this.
    Appreciate any inputs.
    regadrs
    sam

    BP - My SAP ERP 2005
    regards
    Sam

  • Can I create content in iBook Author and push it to my Newsstand App?

    Good afternoon!
    I am totally new at iOS developement and I am exploring the possibilities of the Newsstand app.
    I started building an app following a tutorial and up to now the basic code is working.
    What I am trying to do right now is see if I can create a magazine edition in iBook Author and push it as my new issue.
    So far, I got nothing but a blank issue.
    Is it something possible or do I have to build my own type of asset reader?
    Thank you!
    Marie-Eve

    (1)Why do you need manual instantiation of the 'managed' bean?I know such a case.
    Suppose you already have an EJB application and want to use JSP to display the result of the EJB call which is returned as a JavaBean.
    One solution is put your bean to SessionMap with the name specified in faces-config.xml.
    FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("name", bean);
    But, I hate this solution because it hard-codes the name of the bean.
    My favorite solution is to provide the result bean as a property of another managed bean.
    public class ManagedBean {
        private ResultBean result;
        public ResultBean getResult()  {return result;}
        public String action() {
            result = /* call EJB */;
             return "ok";
    }Page authors can refer the result bean as #{managedBean.result}.

  • My email only shows the "to" and "from" info but not the content of the email. Please help. Thanks

    My email only shows the "to" and "from" info. There is no information at all in the body of my email messages. Please help. Thanks.

    Close the mail app and reboot the iPad.
    Tap the home button once. Then tap the home button twice and the recents tray will appear at the bottom of the screen. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the mail icon. Tap the home button twice.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

Maybe you are looking for