Choose your language

Choose your login

Support

How can we help?

Lightbulb icon
Lightbulb icon

Here’s your answer

Sources:

Lightbulb icon

Oops!

We currently don’t have an answer for this and our teams are working on resolving the issue. If you still need help,
User reading a resource

Popular resources

Conversation bubbles

Contact us

Re-applying initial user settings

This page applies to:

New user creation rules (see Set new user creation rules ) allow administrators to set up rules (e.g. balances or restriction settings) for users being created for the first time - e.g. when created manually or when sync’d into PaperCut from an external source.

New user creation rules do not apply when a user is moved from one group to another, since technically that user is no longer a ’new’ user. For scenarios where an admin would like to apply those new user rules to a current user, there are two options:

  1. Re-applying the initial user settings via the interface.
  2. Re-applying the initial user settings via a server command.

Re-apply initial user settings via the interface

To that end the Re-apply initial settings command was designed to give the admin the ability to script the same action as:

  • Clicking Re-apply initial settings action in the PaperCut NG/MF admin interface, under Users > [select username] > Actions > Re-apply initial settings.
  • Checking Re-Apply Initial Settings (advanced) from the PaperCut NG/MF admin interface under Users > Bulk User Actions > Reset statistics > Re-apply initial settings. (See screenshot below)

Re-apply initial user settings via server command

There are situations in complex environments where users that move department, course or position, need to have their group membership changed. These changes under normal conditions do not evoke a reset of the user’s current rules or balances, requiring manual intervention on the administrators’ part.

Many of our Administrators have scripts to move a user across multiple systems and set their new permissions/conditions. Papercut is no exception to that rule.

This server command was created to allow administrators the flexibility to return a user’s properties to the same initial state as a newly created user via command line.

re-apply-initial-user-settings <username>

This re-applies initial settings to the user, based on group membership, where <username> is the user’s PaperCut username.

When used in conjunction with the following commands

  • remove-user-from-group <username> <group-name>
  • add-user-to-group <username> <group-name>

It forms part of any complex user maintenance that can then be scripted to ease the workload of administrators.

See Server commands (server command tool) for more information on running server commands.


Comments