.. _label-uc-user-remove:

Remove a User Account
***********************************************************************

Short Description
-----------------------------------------------------------------------

A user account and connected user data entities are removed from system.

Actor(s)
-----------------------------------------------------------------------

Officer


Trigger(s)
-----------------------------------------------------------------------

- Imports (removing existing data)
- Web form(s) submitted by authorized user


Result(s)
-----------------------------------------------------------------------

- The user account and all connected data were
  removed from the system.
- All removed data is archived.


Incoming Data
-----------------------------------------------------------------------

- User ID

Outgoing Data
-----------------------------------------------------------------------

- Message about user account removal
- Log message
- Archive entry


Precondition(s)
-----------------------------------------------------------------------

- User ID must exist.
- Submitting user must be authorized to perform the operation.


Postcondition(s)
-----------------------------------------------------------------------


Invariant(s)
-----------------------------------------------------------------------



Essential Steps
-----------------------------------------------------------------------

- System checks user ID validity.
- Removed data is archived.
- System removes the given user account.


Open Issues
-----------------------------------------------------------------------



Remarks
-----------------------------------------------------------------------



.. raw:: latex

      \
