If i use an administrator user all is ok, but when i try to use a user that is not an administrator i got an exception:
VMO61008: You do not have sufficient permissions to complete the operation. in VideoOS.Platform.Proxy.ConfigApi.ConfigurationApiItemWrapper.Children()
in VideoOS.Platform.ConfigurationItems.HardwareDriverSettingsFolder.get_HardwareDriverSettings()
For the user that is not an administrator i’ve used a role and by the “XProtect Management Client” i’ve set “full control” on cameras for this role, but whatever security settings i do to this role i always get the same exception.
Please let me know what settings i have to do to this role to retrieve the camera serial number without using an administrator role.
Just for completeness in the [Overall Security] Management Server i dont see Connect “allow”
I see (as you can see in screenshot attached) the API Status, Full Control and User Authorization. I’ve tried also to set Full Control but i receive the same exception.
I’ve also tried to do a simple component project just for test.
And after the code for login i’ve called the code to list all cameras and for each one camera i’ve found i ve tried to retrieve the serialNumber. Also for this test the result is the same i obtain with my plugin project: with an administrator credential all is fine, with another role i got always the exception “VMO61008: You do not have sufficient permissions to complete the operation”
Hi. We tested 2019 R1 Professional Plus and we got the same result as yours. We will discuss this issue with Milestone Development and let me get back to you next week.
I have talked with experts in the Milestone Development and realized that this issue was fixed at 2020 R1. This means, if you use the older version than 2020R1, then it happened unfortunately.