In teamwork mode this function grants the specified objects to the given user.
GSErrCode ACAPI_AddOnObject_GrantObjects ( const GS::Array<API_Guid>& objectGuids, short toUserId );
- [in] The list of the objects which must be granted.
- [in] The teamwork owner, to which the objects must be granted.
- The function has completed with success.
- The passed parameter
objectGuidsis empty or contains
- If any of the
objectGuidsis not an AddOnObject GUID.
For other common API errors see the API Errors document.
If the function has completed with success then the specified objects will be granted to the given user. The process runs in silent mode, no dialogs or messages will interrupt.
- Version: API 19 or later
- Header: ACAPinc.h