createuser enables specific users to access Postgres. destroyuser removes users and prevents them from accessing Postgres.
These commands only affect users with respect to Postgres; they have no effect on a user's other privileges or status with regards to the underlying operating system.