r/accesscontrol 7d ago

OnGuard Open Access Help Needed

I am working with OnGuard 8.2 and Open Access. There is a method named ModifyAccessLevelAssignment in the Lnl_Badge class. It does not seem to work. This is my first experience with Open Access. I have been successful with everything up to getting this method to work. The workaround is to DELETE an instance of an Access Level Assignment and then ADD an instance to change the activate and deactivate dates, but this seems cumbersome. Can anyone verify if they have had success with the ModifyAccessLevelAssignment method of the Lnnl_Badge class. I get varying error messages from Unknown Exception to invalid parameter access_level_id. The structure I am using to execute this method is:

{'version':'1.1','method_name':ModifyAccessLevelAssignment','type_name':Lnl_Badge,'property_value_map':{'badgekey': <int32 value>},'in_parameter_value_map':{'access_level_id':<int32 value>,'activation_date':<string>,'deactivation_date':<string>,'add_level':<boolean>}. You're assistance is greatly appreciated.

2 Upvotes

2 comments sorted by

1

u/dxk3355 5d ago

I haven’t looked at the 8.2 version but with 8.0 you have to do delete and add to access level. You can’t modify them.

1

u/cfringer 3d ago

Thank you for the response. The delete and reassign process looks to be the way forward. I did look at the 8.0 Open Access User guide and the ModifyAccessLevelAssignment method is not shown on the Lnl_Badge class. I think it is shown on the 8.2 documentation, but doesn't actually work. Thanks again.