How to access credential holder details related to Access Control Event programmatically.

When I’m listening to events in the background plugin I can see the analytics events and Access Control events. I need credential holder details from the Access Control Event generated from door controller (A1001 plugin) . On “DEV: Live Events” in Management client there is card with “Related Access Control Credential Holder” that is populated with details when i select an event like “Access Granted (Credentials)”. How to get them programmatically ? like:

 AccessControlEvent ACEvent = message.Data as AccessControlEvent;
EnvironmentManager.Instance.Log(false, "MyLOGl ACEvent",
                                                "NewEvent:" + ACEvent.EventHeader.Name  + ", Message=" +ACEvent.EventHeader.Message + ", SourceName=" + ACEvent.EventHeader.Source.Name, null);

ACEvent…?

Hi Georgi,

When using the Milestone Axis Access Control plugin, it is today not possible to get details of related access control credential holder.

It is possible to get the credential holder id through ACEvent.RelatedAccessControlCredentialHolderIds, but this field is only relevant in situations where you implemented your own Access Control plugin and can connect to the underlying access system.

Best regards,

Mustafa Temiz

Senior Software Engineer

Milestone Systems

Hi Mustafa, yes, i figured it out and that is exactly what i have done. Thank you .

Is there any updates in this case? To get Credential holder details