Setting Camera Roles

Yes. There are some ways (I do not mention them all but the ones I guess are the most likely to be what you need.)..

Using the Configuration API strongly typed classes:

ChangeSecurityPermissions
ServerTask VideoOS.Platform.ConfigurationItems.Camera.ChangeSecurityPermissions(String userPath)

Edit permissions.
Parameters
userPath User path. User path format: /User[SID]. ‘SID’ can contain role ID.

-

Using Rest API:

Change storage for device ChangeSecurityPermissions

I also found this older topic that might be interesting.