I am trying to retrieve the list of camera groups and list of roles from the Milestone sdk.
i am using the code bellow:
ManagementServer ms = new ManagementServer(VideoOS.Platform.EnvironmentManager.Instance.MasterSite);
var roles = ms.RoleFolder.Roles;
var rooms= ms.CameraGroupFolder.CameraGroups;
this code works on Milestone XProtect Corporate only if i give the basic user read right on the management server in the overall security tab. This option is not available on the other versions.
May you let us know a workaround for this problem?