Trigger a Plugin on Adding User or Removing User from Access Team in CRM 2013/2015

We can trigger a plugin on add/remove user from Access Team in CRM 2013 and 2015

SDK provided two messages for it

  1. AddUserToRecordTeam
  2. RemoveUserFromRecordTeam

AddUserToRecordTeam

You will get input parameters as follows

Record — Entity Reference object of the record
SystemUserId — User which you want to remove
TeamTeamplateId — Access Team Template Guid

For more information on input parameters check – AddUserToRecordTeamRequest Members

RemoveUserFromRecordTeam

 


You will get input parameters as follows Check

  
Record — Entity Reference object of the record
SystemUserId — User which you want to remove
TeamTeamplateId — Access Team Template Guid

For more information on input parameters check – RemoveUserFromRecordTeamRequest Members

For more information on how to Add/Remove user from Access Team, please refer the following links.

Add User to Access Team
Remove User from Access Team


Happy CRM’ing
Gopinath.

 

One thought on “Trigger a Plugin on Adding User or Removing User from Access Team in CRM 2013/2015

  1. akhil March 13, 2018 / 9:08 pm

    How do I get the input parameters in this case ? Because Input parameter is of type entity

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s