The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
Hi,
In any services related to user permissions, how to add multiple inputs like multiple groups or multiple entities in single service at once. eg:
Things["ThingName"].AddRunTimePermission({
principal: "CM_Administrators_group" /* STRING */, //here if I need to add multiple groups
allow: true /* BOOLEAN */,
resource: "*" /* STRING */,
type: "PropertyRead" /* STRING */, //here if I need to add multiple types
principalType: "Group" /* STRING */
});
Regards,
Abhishek Kumar
you can't, just Iterate over the group list and call the same service.