acs_user::ban (public)

 acs_user::ban -user_id user_id

Defined in packages/acs-tcl/tcl/community-core-procs.tcl

Ban a user

Switches:
-user_id (required)

Testcases:
acs_user__registered_user_p, acs_user__ban_approve
Source code:
    change_state -user_id $user_id -state "banned"
Generic XQL file:
packages/acs-tcl/tcl/community-core-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/community-core-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/community-core-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: