bc-cliuser role

Add/delete a role to a user.

Usage

user role (add|delete) name role

where
add add the specified roles.
delete delete the specified roles.
name of user whose role/s to add/delete.
role One or more roles to add/delete.

admin on /_beyondcron/users

this command is disabled when a user service is enabled.

Examples

Add a role

BeyondCron % user add role bsmyth operator

User bsmyth updated

BeyondCron % user list full bsmyth

User Description Roles ------ ------------- -------- bsmyth William Smyth operator

Add multiple roles

BeyondCron % user add role jsmith creator operator

User jsmith updated

BeyondCron % user list full jsmith

User Description Roles ------ ----------- ---------------- jsmith John Smith creator operator

Delete a role

BeyondCron % user delete role bsmyth operator

User bsmyth updated

BeyondCron % user list full bsmyth

User Description Roles ------ ------------- ----- bsmyth William Smyth

Delete multiple roles

BeyondCron % user delete role jsmith creator operator

User jsmith updated

BeyondCron % user list full jsmith

User Description Roles ------ ----------- ----- jsmith John Smith

See also