How to apply security trimming control on Site Action (Gear) in SharePoint 2013?

I want to apply security trimming control on Site Action (Gear) & change the position of the welcome control, but I am not able to find Site Action delegate control and welcome control in seattle.html or seattle.master page.
Can you please let me know how to find Site Action & Welcome control?
Thanks
G Goyal

If you would like to implement security trimming on site action through custom code then following could help you,
In your visual studio project create a class which implements System.Web.UI.WebControls.WebControl. In the
CreateChildControls Method you could get the FeatureMenuTemplate control which is SharePoint’s
WelcomeMenuTemplate.
After creating control, you could add it as an menu item into your site action menu using a
customaction xml.  
You could get the child controls from this and can remove them as required.
Note: using this approach, if you have User profile service running then it will not remove the “About Me” link. But if you have forms authentication enabled then you could change your logic to remove this link.
Hope I have contributed to your issue.

Similar Messages

  • Changing Site Actions Gear Icon to 'Site Actions' Word in SharePoint 2013

    Hi all,
    I want to know that is it possible to change the Site Action's Gear Icon to Site Actions word in the SharePoint 2013 Master Page?
    If so how?
    It should align along with the Logged in UserName like the Gear Icon.
    Please could someone give me some tip on this?
    Thanks and regards,
    Chiranthaka

    Hi Chiranthaka,
    As I understand, you would like to add text “Site Actions” to site settings gear icon. We could use JQuery to achieve it:
    $(document).ready(function () {
    $('.ms-siteactions-root > span > a.ms-core-menu-root').append("<label>Site Actions</label>");
    Please refer more information about the coding:
    http://www.broculos.net/2014/03/sharepoint-2013-add-text-to-site.html#.VB_d0xCKAiR
    You could also download JQuery.min.js from the link below:
    http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to set security group as primary site collection admin and secondary site collection admin using powershell in sharepoint online site - office 365?

    How to set security group as primary site collection admin and secondary site collection admin using powershell in sharepoint online site - office 365?

    Hi,
    According to your description, my understanding is that you want to set security group as admin of primary and secondary site collection using PowerShell command in office 365.
    I suggest you can use the command below to set the group to site owner, then it will have the site collection admin permission.
    Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -Owner [email protected] -NoWait
    Here are some detailed articles for your reference:
    https://technet.microsoft.com/en-us/library/fp161394(v=office.15)
    http://blogs.realdolmen.com/experts/2013/08/16/managing-sharepoint-online-with-powershell/
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • How to hide the Columns and Views for Login user in SharePoint 2013

    Hi Friends,
    How to hide the Columns and Views for Login user in SharePoint 2013? Is it possible using OOB features? If not possible how can we hide the Columns and Views for Login user?
    Could you please help on this.
    Thanks,
    Tiru
    Tiru

    Hello Tirupal,
    There is no OOB way to do this.
    Please check this codeplex solution to achieve the same.
    https://sp2013columnpermission.codeplex.com/
    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

  • How to apply security to access procurement dashboard in RPD (BI Security)

    Hi All,
    How can I apply Security to access in RPD for Procurement dashboards only.
    Regards,
    Kumar
    Edited by: user597882 on Sep 13, 2009 2:20 AM

    Hi,
    If you want to apply security to a dashboard (object level security so that some people can see the dashboard and other can't), then you don't do this in the RPD but through the administration screens after logging into OBIEE. Here you can defined which webgroups can see a dashboard.
    Regards,
    Matt

  • How to Apply Security or Remove in Batch using Acrobat X

    I’m using Acrobat X Pro. I’ve used Acrobat Pro 6-9. I need to remove security in batch and apply security to about 100 PDFs. I’m totally lost in Acrobat X. Where are all of the batch sequence commands that were in Acrobat 9? Can anyone point me to an article or tutorial on batch sequences and the new “Action Wizard”.
    Thanks.

    ---UPDATE:
    Found my answer! http://answers.acrobatusers.com/ViewQuestion.aspx?questionid=16649
    Basically, you have to change Acrobat's preferences (edit --> Preferences --> Action Wizard) to prompt for a password by default. That way, it can actually access the PDFs you're trying to work with.
    Ye olde message:
    So, I have the same goal (mass decrypt some PDFs), but a different problem.
    If I have a step saved in the Action Wizard to "encrypt" the PDFs, with the security method set to "none." I have a bunch of PDFs with encryption on, but no password saved.
    However, when I run the process, it doesn't actually remove the encryption.

  • How to apply different keyboard shortcuts to an actions with the same name but in different menus within one application?

    Hi,
    Hopefully someone can help. I have the application "djay" and in two different menus there is the action "Eject". I was wondering if it's possible to apply different keyboard shortcuts to those actions with the same name? I can't see how to do it as it seems you can only write the action but as there are two it doesn't seem to work for me.
    For example:
    djay>Table-1>Eject - ⌘⇧1
    djay>Table-2>Eject - ⌘⇧0
    Thanks in advance for any help!!

    A NodeList doesn't only contain 1 element. In your example it contains ALL <Data> elements inside the document.
    NodeList nodes = document.getElementsByTagName("Data");
    System.out.println(nodes.getLength() + " \"Data\"-elements found");
    for(int i=0; i<nodes.getLength(); i++) {
       Node node = nodes.item(i);
    }

  • How to refresh the table control on some action

    Hi All,
         In a web Dynpro application, I am filling data to the Table control through Supply function. When  I do some action (like save new record )  i want to refresh the table control means add the newly added record.
       How to refresh the Table control.
    Thanks
    Hemalatha

    hi hema........
        if you are using a select query inside the supply function...
        then...
        you can just use node->invalidate(). method..
        it just invalidates the node that is bound to the table.
       so the supply function will be called again, which again uses the select query to fetch the values.. so that your table gets refreshed.
    ---regards,
       alex b justin

  • How can I disable managed properties from being automatically generated in SharePoint 2013

    In SharePoint 2010 we had the option to turn this off for a crawled property category.
    How can we turn this function off in SharePoint 2013?

    Thanks Steve! That sure was not obvious... check, save, uncheck save... how did you figure that one out?
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Prevent Site Members to view Site Contents Page in SharePoint 2013

    I created SharePoint 2013 Site and it has 5 variation sub sites as well. Each site has several pages. I have end users added to Site Members group who should access all the Custom pages. Customer has raised a security issue, end users are able to access
    Site Contents page by supplying the link in the URL. I tried adding these end user to site visitors but unfortunately they are not able to access variations sub sites custom pages.
    Kindly help me how to solve this.

    Little confuse. 
    You want to stop users from viewing page or you want them to to be able to view pages
    Which pages are they able to view. 
    Just follow below steps to prevent users form accessing application pages
    http://blog.mastykarz.nl/preventing-authenticated-visitors-browsing-system-pages/
    You can even try this powershell
    param (
        $WebApplicationUrl
    $wa = Get-SPWebApplication $WebApplicationUrl
    $wa.PolicyRoles.Add("Deny System Pages",
    "", "EmptyMask", "ViewFormPages")
    $wa.Update()
    $claimType = "http://schemas.microsoft.com/sharepoint/2009/08/claims/identityprovider"
    $claimValue = "AspNetMembership"
    $claim = New-Object Microsoft.SharePoint.Administration.Claims.SPClaim($claimType,
    $claimValue, "http://www.w3.org/2001/XMLSchema#string", [Microsoft.SharePoint.Administration.Claims.SPOriginalIssuers]::GetIssuerType("SecurityTokenService"))
    $encodedClaim = $claim.ToEncodedString()
    $policies = $wa.ZonePolicies("Default")
    $policy = $policies.Add($encodedClaim
    , "Authenticated visitors")
    $policy.PolicyRoleBindings.Add($wa.PolicyRoles["ViewFormPagesLockDown"])
    $wa.Update()
    If you want restrict users to access some specific page, the you need to remove inheritance of the site 
    If this helped you resolve your issue, please mark it Answered

  • How to set master page for Wildcard inclusion Managed path in Sharepoint 2013

    I am using sharepoint 2013. I created mysite in root level for newsfeed. Also i included wildcard inclusion managed path named as
    my. If i am clicking newsfeed the page url is http://webapplication:port/
    if  i am clicking sites the page url is http://webapplication:port/my/CURRENTUSERNAME/Social/Sites.aspx#IsEditing_WPQ4=1.
    I can apply master page for newsfeed site using sharepoint designer. But i cant apply for
    my path.
    If am opening http://webapplication:port/my/vijay in designer i can change the master page. But my requirement is to apply master page for http://webapplication:port/my
    for all users have same master page.
    How to solve this . Thanks in advance.

    You need to update the mysitehost masterpage. all master pages are created as mysitehost template.
    Here is how you do it. 
    Create a site collection with template as mysitehost
    Modify the mysitehost masterpage
    Once it is done, update the mysitehost in user profile service application
    If this helped you resolve your issue, please mark it Answered

  • Adding or Displaying Site Actions Gear Icon Using Custom SharePoint Master Page

    I am using a custom Master Page within my SharePoint Site in SharePoint 2013 Site. In the top right corner the Gear Icon is not displaying. But when I hover on it the place holder work and when I click on it the menu is displaying correctly.
    Now I want it to display that gear icon using my custom master page.
    So how can I do that? Could someone help me to solve this?
    Thanks and regards, Chiranthaka

    Hi,
    From your description, my understanding is that you customize a master page in SharePoint 2013, and you want to display the gear icon.
    I wonder if just this site cannot display the icon or each site cannot display the icon in your farm? To resolve your issue, you could check these points in your environment:
    Compare current site code to other site in file seattle.master. you could find code by these steps: search code with keywords [id="siteactiontd"] in seattle.master -> compare code between tags [<SharePoint:SiteActions></SharePoint:SiteActions>].
    Then check if the URL of the gear icon is correct or not as the screenshot below.
    Please check if there are some CSS code may hide your gear icon in you custom Master Page.
    If each site cannot display the icon, you could check if the file spcommon.png(path:..\ 15\TEMPLATE\IMAGES) is missing or not.
    In addition, you could debug your code with pressing F12 to open developer tool in IE.
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to create a Real Time Interactive Business Intelligence Solution in SharePoint 2013

    Hi Experts,
    I was recently given the below requirements to architect/implement a business intelligence solution that deals with instant/real data modifications in data sources. After going through many articles, e-books, expert blogs, I am still unable to piece the
    right information to design an effective solution to my problem. Also, client is ready to invest in the best 
    infrastructure in order to achieve all the below requirements but yet it seems like a sword of Damocles that hangs around my neck in every direction I go.
    Requirements
    1) Reports must be created against many-to-many table relationships and against multiple data sources(SP Lists, SQL Server Custom Databases, External Databases).
    2) The Report and Dashboard pages should refresh/reflect with real time data immediately as and when changes are made to the data sources.
    3) The Reports should be cross-browser compatible(must work in google chrome, safari, firefox and IE), cross-platform(MAC, Android, Linux, Windows) and cross-device compatible(Tabs, Laptops &
    Mobiles).
    4) Client is Branding/UI conscious and wants the reports to look animated and pixel perfect similar to what's possible to create today in Excel 2013.
    5) The reports must be interactive, parameterized, slice able, must load fast and have the ability to drill down or expand.
    6) Client wants to leverage the Web Content Management, Document Management, Workflow abilities & other features of SharePoint with key focus being on the reporting solution.
    7) Client wants the reports to be scalable, durable, secure and other standard needs.
    Is SharePoint 2013 Business Intelligence a good candidate? I see the below limitations with the Product to achieve all the above requirements.
    a) Cannot use Power Pivot with Excel deployed to SharePoint as the minimum granularity of refresh schedule is Daily. This violates Requirement 1.
    b) Excel Services, Performance Point or Power View works as in-memory representation mode. This violates Requirement 1 and 2.
    b) SSRS does not render the reports as stated above in requirement 3 and 4. The report rendering on the page is very slow for sample data itself. This violates Requirement 6 and 7.
    Has someone been able to achieve all of the above requirements using SharePoint 2013 platform or any other platform. Please let me know the best possible solution. If possible, redirect me to whitepapers, articles, material that will help me design a effective
    solution. Eagerly looking forward to hear from you experts!.
    Please feel free to write in case you have any comments/clarifications.
    Thanks, 
    Bhargav

    Hi Experts,
    Request your valuable inputs and support on achieving the above requirements.
    Looking forward for your responses.
    Thanks,
    Bhargav

  • How to fix javascript error/bug on custom web part of SharePoint 2013

    I have a custom web part with serveral business fields. This web part is installed on DispForm, EditForm an NewForm.
    But, I click on Attach File button and a javascrit error is throw on my browser's status bar.
    Line: 5279
    Character: 5
    Code: 0
    URI: http://mysite:4000/_layouts/15/form.debug.js?rev=vyMg8qjZfJ8La1jn7bQ2cg%3D%3D
    How to solve this problem? I think it is a javascript conflict
    Tarcísio Corte [email protected]

    Hi,
    1. You can create a simple demo web part without your custom code firstly, then insert it into your form pages to see if the similar issue would occur. If it works, then add your
    other code into it one after one. By doing this, it will be easier to find out the root cause of this issue.
    2. What browser do you use? Please try to use IE 10(SharePoint 2013), IE8(SharePoint2010).
    3. You can also debug your code using IE F12 Developer Tools.
    http://blogs.msdn.com/b/kaevans/archive/2011/04/25/debugging-javascript-with-the-ie-developer-tools.aspx
    If the issue still exists, I can suggest you provide more information for further research.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How to hide ribbon but show welcome control for all users using security trimmed control in sharepoint 2010

    Hi All,
    I have a requirement to hide ribbon in a document library for the read permission users. I have applied SPSecurityTrimmedControl, it is working for the read permission user but for the whole site it is hiding and also unable to see the welcome control,
    like user name, sign in as different user, etc.,
    <Sharepoint:SPSecurityTrimmedControl runat="server" ID="spTrimRibbon" PermissionMode="All" Permissions="ManageLists">
    I want to apply SPSecurityTrimmedControl to specific list/library with welcome control. Can someone please help me here.
    I Appreciate your assistance...
    MercuryMan

    Hello MercuryMan,
    I guess you have applied your code in master page that's why it is hidden from site. To hide specific list ribbon, go to your list-->and edit the page-->then add content editor webpart and apply below script.
    <SharePoint:SPSecurityTrimmedControl PermissionsString="ManagePermissions" runat="server">
    <div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
    </div>
    </SharePoint:SPSecurityTrimmedControl>
    http://blogs.msdn.com/b/sharepointdev/archive/2012/04/30/how-to-hide-the-ribbon-in-sharepoint-2010-rajeswari-mohandas.aspx
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for

  • ACE Drop (Dest nat fail):

    Hi All, I'm using ACE module A2(2.4) I'm trying to use parameter server-conn reuse, but clients get sometimes statuscode 503. A#1/Test1# show np 1 me-stats "-socm -v" OCM Statistics: (Current) Errors:                                           0      

  • Adding new company code

    Hello! I am not sure if this is the correct thread for this question but I think this is the most appropriate. My inquiry is how can I configure another system company code? For example, we are now Company A1B1 and would like to add A1B2. Also, how d

  • Which are the advantages of OWB Mappings over PLSQL code?

    Hi, I was wondering which are the advantages of OWB (10gr2 or 11g) Mappings vs simple PLSQL code when the mappings are, for performance reasons, only generated in set based mode. Regards Maurice

  • MMC red alert

    Hi Experts, When i started SAP MMC  its starting with red alerts and i am not able to login to server. i have checked listener, saposcol, r3trans -d everything is working. trc file: "dev_disp", trc level: 1, release: "700" sysno      00 sid        HM

  • My iPhoto doesn't work after installing lion?

    My Iphoto doesn't work after installing lion. it suggest that I have to instal iphoto again. where can I find this