Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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 9 years, 9 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

    application solution

    Popular Salesforce Blogs

    what is Salesforce CPQ

    What is Salesforce CPQ - Why Does Every Business Need it?

    Blog in Salesforce Products

    Introduction Business statistics prove SDR spends time on creating proposals rather than closing deals. It is apparent that the sales management process becomes insignificant when…

    Business Model, Business Statistics, Configurable Products, Configuration Price, Configure
    Bharathi Priya May 26, 2022
    3,542  Views

    Salesforce DX Setup – Everything You need to Know

    Blog in Salesforce Products

    Salesforce DX Setup – Since inception, one of Salesforce’s core philosophies and the Big Idea has been to make building easy. The software should not…

    Salesforce Apex Code, Salesforce App, Salesforce CLI, Salesforce Code, Salesforce DX
    DemandBlue Apr 24, 2019
    4,117  Views
    Apex Triggers in Salesforce Here’s What you Need to Know

    Apex Triggers in Salesforce | Here’s What you Need to Know

    Blog in Salesforce

    What are Apex triggers? Apex triggers permit custom moves to be done before or after data manipulation language (DML) activities arise in Salesforce, such as…

    Apex Triggers, API, Before Insert, Before Trigger, Bulkified Trigger
    Nikhil Kumar Feb 8, 2023
    1,808  Views

    Popular Salesforce Videos

    Visualforce Training for Beginners : Visualforce Tags in Salesforce

    Visualforce Training for Beginners : Visualforce Tags in Salesforce

    Video in Visualforce

    This video helps you to learn following topics: Visualforce Tags Standard Controllers Associating a Standard Controller with a Visualforce Page What are action methods? Action…

    salesforce training videos for beginners, Salesforce Developer, Salesforce Tutorial for Beginners, salesforce platform, Cloud Computing
    Abhay Mar 7, 2018
    1,571  Views
    'Reduce Internal Email Clutter, Use Salesforce Chatter To Simplify Life' Webinar

    'Reduce Internal Email Clutter, Use Salesforce Chatter To Simplify Life' Webinar

    Video in Salesforce Training

    Chances are, that as a Salesforce user, you aren’t using Chatter or aren’t aware of the power and value Chatter brings to team collaboration. Which…

    Salesforce Training, Salesforce Chatter, salesforce, Salesforce Webinar, Salesforce Video
    360 Degree Apr 4, 2022
    2,061  Views
    Salesforce Standard vs Custom Objects Explained

    Salesforce Standard vs Custom Objects Explained

    Video in Salesforce Admin

    Salesforce, a leading customer relationship management (CRM) platform, offers both custom and standard objects to organize and manage data effectively. Standard objects are pre-built components…

    Salesforce Standard Objects, Salesforce Custom Objects, Salesforce Lead Objects, Custom Objects, Custom Object in Salesforce
    ENWAY Jul 1, 2024
    508  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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.