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

    Nine Common Pain Points Solved by Salesforce Revenue Cloud

    Blog in Salesforce Cloud Platform, Salesforce Products

    Revenue, and especially revenue that is trending upwards, is a clear indicator of an organization’s health and potential. However, responding to fluid market shifts and…

    Approval System, Automate Quote Generation, Automated Lead Routing, B2B, B2B Commerce
    LevelShift (formerly DemandBlue) Oct 26, 2021
    2,932  Views
    Salesforce Commerce Cloud

    Salesforce Product : Commerce Cloud

    Blog in Salesforce Cloud Platform

    Salesforce Product : Commerce Cloud Commerce Cloud is one of the product among other products of Salesforce also plays a key role for making Salesforce…

    Cloud Computing Salesforce, Cloud Platform, Commerce Cloud Digital, Commerce Cloud Einstein, Commerce Cloud Order Management
    Archit Feb 15, 2018
    7,235  Views

    No Code Clearbit and Salesforce Integration

    Blog in Salesforce integration

    Clearbit is a consumer contact marketing data engine. It assists businesses in expanding by delivering solutions that enable them to better understand their clients, discover…

    APIs, Applications, Business Operations, Clearbit, Clearbit and Salesforce Integration
    Apphienz Apr 7, 2022
    2,353  Views

    Popular Salesforce Videos

    Salesforce Admin Beginners Tutorial - 3.1 - Salesforce Platform Basics

    Salesforce Admin Beginners Tutorial - 3.1 - Salesforce Platform Basics

    Video in Salesforce Training

    Salesforce is an innovative tool that can be very powerful when used properly. That’s why it’s important to find effective and trustworthy ways to learn…

    Salesforce Tutorial, Salesforce Certification, Salesforce Administrator Training, Salesforce Administrator, salesforce platform
    Shiv Kumar Sharma Mar 8, 2018
    2,560  Views
    Integration: MuleSoft Composer for Salesforce

    Integration: MuleSoft Composer for Salesforce

    Video in Salesforce Integration

    What you can do with MuleSoft Composer for Salesforce Enrich your 360-degree customer view by empowering your Salesforce admins with a no-code solution for quickly…

    Salesforce Training, Salesforce Tutorial, Salesforce Integration, salesforce, Salesforce Admins
    Prafull Jan 29, 2021
    2,577  Views
    Welcome to the New World of Data Collection | Salesforce | Summer Internship

    Welcome to the New World of Data Collection | Salesforce | Summer Internship

    Video in Data, Salesforce Training

    Secure data collection built for your needs. With FormAssembly, your organization can streamline outdated processes and power important business initiatives. To enroll Contact us +91…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce VIdeos, Salesforce Learning
    S2 Jun 23, 2022
    1,979  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.