Enum MercuryReaderAccessMethods
The MercuryReaderAccessMethods enum defines how credentials are validated at a reader.
| Value | Enum | Description |
|---|---|---|
| 0 | Card |
Card only - no PIN required |
| 1 | PinOnly |
PIN only - no card needed |
| 2 | CardAndPin |
Both card and PIN required (two-factor authentication) |
| 3 | CardOrPin |
Either card or PIN grants access |
| 4 | FacilityCodeOnly |
Any card with valid facility code grants access |
| 5 | Unlock |
Reader permanently unlocked (always grants access) |
| 6 | LockDown |
Reader locked down (always denies access) |
| 7 | CardAndPinNoGrantOnDuress |
Card and PIN required, denies access on duress PIN |
Usage Notes:
PinCode assigned in their CardAssignmentInfo.Unlock and LockDown modes override normal access control (useful for emergency situations or maintenance).FacilityCodeOnly validates only the facility code portion of the credential, not the individual card number.| Name | Value | Description |
|---|---|---|
| Card | 0 | Card Only Required |
| PinOnly | 1 | PinOnly |
| CardAndPin | 2 | CardAndPin |
| CardOrPin | 3 | CardOrPin |
| FacilityCodeOnly | 4 | FacilityCodeOnly |
| Unlock | 5 | Unlock |
| LockDown | 6 | LockDown |
| CardAndPinNoGrantOnDuress | 7 | CardAndPinNoGrantOnDuress |