Knowledgebase
Knowledgebase: PaperCut > Users
Setting the User Auto Generated Card ID Length
on 21 July 2014 10:50 AM

From 14.2, Administrators have the option of auto-generating Card IDs when sync’ing user information, as detailed on the Card/Identity Numbers Sync page. The users can also be configured to manage their own card numbers and to auto-generate their own Card Numbers as detailed in the section Allowing users to manage their own card/ID number.

Setting the length of the User Auto-generated Card number

The length of the user auto-generated number will differ from the length defined under Options → User/Group Sync → Sync Source → Auto-generate random primary card/ID number when blank.

To set the length of the card numbers auto-generated when users go to their User Web Page, then select ‘Change Details’, then use the ‘Generate Number’ button, you will need to set the config key:

user.auto-generate-card-id.length

By default it is set to 8. In the screenshot below you can see that it has been set to 5, where it auto-generates a card ID with 5 numbers: