Is there SDK API to get a role/user's privilege?

Hi,

Is there SDK API to get a user/role’s privilege? If yes, is there any sample? E.g, we want to tell if a user can read a camera’s video, if a user can create a label, evidence lock etc.

Configuration API.

Explore the Config API Client sample.

https://doc.developer.milestonesys.com/html/index.html?base=samples/configapiclient.html&tree=tree_2.html

General permissions

Camera permissions. Pick the camera first…

Hi Bo,

Thanks for your response. I checked the sample and failed to the detailed operation permission. Actually we want to get the items of overall security tab for a role. See the list on the maunal guide.

We’re developing a application which need to tell the permissions of current user.

Let us take it step by step:

cc4

Same list as you found in the manual for camera “truCam” for the users belonging to the role “MyRole”.