I am developing an support app through ZAT framewok. Once app is uploaded, and admin purchases that with per agent rate. While purchasing, admin can provide role or group restrictions of users. Is there any direct api to get the UserIDs of all eligible users from group and role restriction for the app ?
One way of doing this is to fetch all the user from group restriction and then filter the user from role restriction, this is too lengthy. Please help with possible short and sweet solution.