Let me clarify – do you get VMO61008 error while you are using E-code product? Can you please tell us the exact product and version? Also, please double check the Roles as you might not have the same setup even if you are using the same credentials when testing.
I use C# SDK in my component.
I am connecting to Corprate versions and my component works.
I have enabled permissions:
Cameras - read, view live, playback, retrieve remote recordings, read sequences, smart search, export, manual ptz, activate ptz presets
Sites - read
Management server - connect, read
But for:
Milestone - Professional+ 2019 R3
Milestone - Professional+ 2021 R1
I get VMO61008
More details:
In VMS in Professional version I created new role and I assigned Basic user to this role.
Than I granted all privileges to this role, from top to the bottom
in all categories ( Management server, Hardware, Cameras, Microphones, Speakers, Metadata, Input, Output, View Groups,
User-defined Events, Analyticsv Events, Generic Events, Matrix).
Still got:
VideoOS.ConfigurationAPI.ConfigurationFaultException.UnauthorizedAccessFault: VMO61008:
You do not have sufficient permissions to complete the operation.
(Fault Detail is equal to VideoOS.ConfigurationAPI.ConfigurationFaultException.UnauthorizedAccessFault).
In our solution this exception occured when we perform:
configApi.GetChildItems(“/CameraGroupFolder”)
When I added my basic user to Administrators - there is no issue.
I think issue is here - I use Config API for Professional version.
Question is how to verify if I can use Config API ?
I base on below condition:
EnvironmentManager.Instance.MasterSite.ServerId.ServerType == ServerId.CorporateManagementServerType
but for Professional version it is also fulfilled.
Milestone Development will start an investigation.
Milestone Development investigated the issue, please see below comment.
-–
This is due to “differentiated administrator rights” (or “tiered management rights” as it is called in the product comparison chart) not being supported for other products than Corporate, and thus only people in the administrator role have the rights to perform such changes.