---
title: "Discussion on \"Salesforce Apex Sharing, built for bulk 🔐\" | Hashnode"
description: "Discussion on \"Salesforce Apex Sharing, built for bulk 🔐\". when the Opportunity Manager lookup is populated on an Opportunity, share the record with that user. When the manager changes, remove the old share and create a new one for the new manager."
url: "https://hashnode.com/posts/salesforce-apex-sharing-built-for-bulk/6ad79ce8bfd1cf45ad27275a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Salesforce Apex Sharing, built for bulk 🔐](https://shariquekalam.hashnode.dev/salesforce-apex-sharing-built-for-bulk?utm_source=hashnode&utm_medium=feed)

when the Opportunity Manager lookup is populated on an Opportunity, share the record with that user. When the manager changes, remove the old share and create a new one for the new manager.

Oct 20 · 3 min read · shariquekalam.hashnode.dev  
Read the article

-   [#salesforce](https://hashnode.com/tag/salesforce)
-   [#apex](https://hashnode.com/tag/apex)
-   [#triggers](https://hashnode.com/tag/triggers)
-   [#development](https://hashnode.com/tag/development)

## Written by

[SHARIQUE KALAM](https://hashnode.com/@shariquekalam)

@shariquekalam · Kolkata, India

  
[View profile](https://hashnode.com/@shariquekalam)

Salesforce Developer

I am a Salesforce developer with strong intention to learn full stack Salesforce Development and I am here to share my learnings and also to learn.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
