Personalized Access Control configuration

Hi, I would like to restrict the list of available doors based on the user’s permissions in our Access Control system. I see from the DemoAccessControlPlugin code that there is some framework code to do this. In PersonalizedConfigurationManager.cs there is code such as this:

private async Task FetchPersonalizedConfigurationAsync(string username, string password, long latestVersion)

This code uses a username and password. Where does this username and password come from? Is it the username and password used to login to the XProtect smart client? Or is there a way for the Access Control plugin to request the user to provide a login (username/password) specifically for the Access Control System itself?

In general, if you can point me to documentation and specifics on how I can achieve some level of personalization in the Smart Client, that would be appreciated.

-Lou

The Demo Access Control Plug-in project shows this! There is however a trick to it..

You will have to set “Operator login required”

What you achieve by this is that the user starting the Smart Client is asked for a second login after the login to XProtect. This second login is for the Access Control system. When this is used the user now have personalized set of visible doors.

Here you see the setup of users in the Demo Access Application:

It is important to note that administration of users are not done in the Management Client but in the Access Control system.

Thanks Bo.