xo::db::chat_room instproc ban_user (public)

 <instance of xo::db::chat_room[i]> ban_user -party_id party_id 

Defined in /var/www/openacs.org/packages/chat/tcl/xotcl-chat-procs.tcl

Bans specified user from the chat room

Switches:
-party_id (required)

Testcases:
No testcase defined.
Source code:
permission::grant  -party_id  $party_id  -object_id ${:room_id}  -privilege chat_ban
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: