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, 8 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

    The Growing Importance of Data Privacy in Software Development

    Blog in Others

    A shared concern in today’s society especially for the new age companies and consumers as well as the government performing their duties is data privacy.…

    Business Productivity, Healthcare & Wellness, online booking appoinmnet software, salon and barbar, Technology & Software
    Get Aug 1, 2025
    110  Views

    How Salesforce Helps Medical Companies Innovate & Grow

    Blog in Salesforce

    a rapidly evolving healthcare landscape, there is constant pressure on medical companies to innovate, improve patient care, and streamline their operations altogether. Technology is one…

    Appointment Scheduling, Care Coordination, Clinical Research, Compliance Audits, Compliance Management
    SP Sep 3, 2024
    487  Views
    Back Up Metadata

    Back Up Metadata to Secure and Restore Your Customizations | Salesforce Guide

    Blog in Salesforce

    You can protect your organization’s customizations, like customized fields, custom Apex code (Everything you wrote in your console), page layouts, reports, and permission sets, by…

    API, AppExchange, AppExchange Packages, Augment Package, Back Up Metadata
    MOHIT Oct 15, 2020
    5,786  Views

    Popular Salesforce Videos

    The 3 Most Common Challenges Associated With B2b Commerce Cloud Implementations

    The 3 Most Common Challenges Associated With B2b Commerce Cloud Implementations

    Video in Salesforce Cloud Platform

    With growing technology businesses are adapting to the new changes. B2B commerce cloud is one of them. But to implement the B2B commerce cloud is…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Learning, Commerce Cloud
    Cyntexa Jul 21, 2022
    1,649  Views
    Can I Get a Job by Just Learning Salesforce Admin?

    Can I Get a Job by Just Learning Salesforce Admin?

    Video in Salesforce Training, Salesforce Admin

    In this Video Shrey covered the following questions: 1. Can I get a job by just learning Salesforce Admin? 2. Can you start a career…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Admin, Salesforce Video
    Abhishek Oct 18, 2021
    2,461  Views
    Build customer user interfaces with the UI API in Salesforce

    Build customer user interfaces with the UI API in Salesforce

    Video in Salesforce Implementation

    Table of Contents : 05:26 - Lightning Platform and the advent of UI API 09:24 - Benefits of the UI API 11:22 - Demo 22:55 -…

    Salesforce Lightning Experience, Salesforce Lightning Components, Salesforce Lightning Design System, UI, Customer Success
    Shiv Kumar Sharma Apr 10, 2018
    1,951  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

    © 2025 - 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.