Views:

Description

Shares a record with a user.

e.g. Shows how to share all privileges of a contact record with a system user except for the delete privilege

Signature

RecordShare('entitynameofrecordtoshare', 'guidofrecordtoshare','systemuser\team', 'guidofsystemuser\team','readaccess', 'writeaccess','deleteaccess, 'assignaccess','shareaccess', 'appendaccess','appendtoaccess')

Example

RecordShare('contact', '873489c-992f-22db-8454-0800255c9a55', 'systemuser', '899989c-992f-22db-8454-0800255c9a55', true, true, false, true, true, true, true)

Parameters

NameTypeDescriptionRequired
entitynameofrecordtosharexxxxxxxxxxxx
guidofrecordtosharexxxxxxxxxxxx
systemuser\teamxxxxxxxxxxxx
guidofsystemuser\teamxxxxxxxxxxxx
readaccessxxxxxxxxxxxx
writeaccessxxxxxxxxxxxx
deleteaccessxxxxxxxxxxxx
assignaccessxxxxxxxxxxxx
shareaccessxxxxxxxxxxxx
appendaccessxxxxxxxxxxxx
appendtoaccessxxxxxxxxxxxx

Notes: