I’m wondering if there is a way to retrieve all cameras associated with a particular role?
We have been using Management.RolesFolder.Roles, but it seems that there is no provision for this functionality. Currently, we are utilizing VideoOS.Platform.ConfigurationItems.Camera and implementing the ChangeSecurityPermissions method, where we pass all roles and check the task.GetProperty(“GENERIC_READ”) value to determine if the camera has access.
This process of identifying the role for each camera on the customer site, with 300 roles and 3900 cameras, is extremely time-consuming, taking approximately 20 hours.
Is there an alternative approach or solution to efficiently determine the role for each camera?