We currently have some code which grabs a serial number for a camera. We use this to check some other stuff within our system. Below is the following code:
This code works fine if we are logging into the server with Admin credentials. We are currently experimenting with server security and interrogating into other organisations servers. However, if I create a new Role and basically give it permission for everything, I still get a NotAuthorised exception.
I have two questions:
Is there a better way to get the camera serial number, one that doesn’t use HardwareDriverSettings.
What permission do I need to give to my new user role on the recording server?
We are currently using 2017 R3, this is what the customer is using and we cannot upgrade, does that mean we cannot obtain the serial number unless we are in the Admin group for this version?
Thank you for your information, you are using 2017 R3 and there is no chance to upgrade to 2020 R1 then the permission you need is ManagementServer(namespace) Read(action).