Views:

Description

Add users to a team and it will create Access Team if necessary.

Signature

AddUserToAccessTeam('recordentityname', 'recordid', 'userid', 'teamtemplatename')

Example

AddUserToAccessTeam('opportunity', [opportunity.opportunityid], WhoAmI(), 'Opportunity Sales Team Template')

Parameters

NameTypeDescriptionRequired
recordentitynamexxxxxxxxxxxx
recordidxxxxxxxxxxxx
useridxxxxxxxxxxxx
teamtemplatenamexxxxxxxxxxxx

Notes: