Tuesday, 17 March 2015

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.

 

1 comment:

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

    ReplyDelete