Description
Add users to a team and it will create Access Team if necessary.
Signature
AddUsersToAccessTeam( 'recordentityname', 'recordid', 'userid', 'teamtemplatename' )
Example
AddUsersToAccessTeam( 'opportunity', [opportunity.opportunityid], WhoAmI(), 'Opportunity Sales Team Template' )
Parameters
Name | Type | Description | Required |
---|---|---|---|
key | xxxx | xxxx | xxxx |
defaultvalue | xxxx | xxxx | xxxx |