Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › How to give access to account team member so that they can access all related object with account?

    Tagged: Account, Salesforce Apex, Share, UserOrGroupId

    • Salesforce® Discussions

      How to give access to account team member so that they can access all related object with account?

      Posted by Audrey on April 21, 2016 at 7:01 AM

      I would like to know how to give read only access to a team member so that he can access all the related object with account.

      Suyash replied 10 years, 4 months ago 2 Members · 1 Reply
      • Account
      • Salesforce Apex
      • Share
      • UserOrGroupId
    • 1 Reply
    • Suyash

      Member
      April 21, 2016 at 10:01 AM

      Hi Audrey,
      For this we use sharing via apex. In this you need to query account team member of each account with all the related object records on it one by one. And then create a share (Share is object in salesforce) for each child record by giving the team member id in its Userorgroupid field. Sample code can be found in below link.

      Refer to this link:
      https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.html

       

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Dawn of the Era of Salesforce Lightning

    Blog in Salesforce Consultant

    Whenever the name of Salesforce comes up, the reactions that people give are- “Best Cloud Computing Services”, “Best cloud-based CRM”, “Amazing CRM services”, “Revolutionary CRM”…

    Cloud Computing Services, Force.com, Lightning App Builder, Lightning Connect, Lightning Design System
    William Feb 7, 2019
    4,526  Views

    Transforming Customer Experience: Why Businesses Need a Salesforce Customer Portal in 2025

    Blog in Salesforce

    Customer experience (CX) is the actual competitive advantage in 2025. Customers demand immediate service, customized service, and convenience based on digital-first at all touchpoints. These…

    Customer Portal, Salesforce CRM, Salesforce Experience Cloud
    CRMJetty Sep 15, 2025
    1,544  Views

    Can CRM Cut Costs In Expanding Your Business?

    Blog in Others

    In this age of fierce competition, the one aspect which you can certainly not overlook is customer experience and customer expectation. The concept of customer retention comes…

    CRM For Business, CRM Softwares, CRM Solutions, CRM System, CRM Technology
    Algoworks Dec 6, 2019
    5,795  Views

    Popular Salesforce Videos

    Exploring Technology Choices For Salesforce Integration

    Exploring Technology Choices For Salesforce Integration

    Video in Others

    Are you struggling to find the perfect technology to integrate Salesforce into your business processes? Integrating Salesforce into your business processes can offer significant advantages,…

    salesforce, Salesforce Video, Salesforce VIdeos, salesforceintegration, salesforcepartner
    Cyntexa Oct 23, 2023
    990  Views
    Salesforce Trailhead 2020 - Developer Beginner - Search Solution Basics

    Salesforce Trailhead 2020 - Developer Beginner - Search Solution Basics

    Video in Salesforce Training

    This video explains: Explain when to create a customized search solution. Describe the difference between SOSL and SOQL. Identify which API protocols are available for…

    Salesforce Training, Salesforce Developer, salesforce, Salesforce Trailhead, SOQL
    Abhai Deep Mar 26, 2020
    2,478  Views
    Creation Of Validation Rules And Verifying Them In Salesforce

    Creation Of Validation Rules And Verifying Them In Salesforce

    Video in Salesforce Training

    Learn how to create and verify validation rules in Salesforce. This video will cover the following points - 1. Introduction Get a brief introduction about…

    Salesforce Training, Salesforce Tutorial, Salesforce Development, salesforce, Salesforce Development Tutorial
    Algoworks Dec 29, 2020
    8,384  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.