acs_user::registered_user_p (public)

 acs_user::registered_user_p [ -user_id user_id ]

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

Return 1 if the specified user (defaults to logged-in user) is a registered user and 0 otherwise. A registered user is a user who is in the view registered_users and this is primarily true for any user who is approved and has a verified e-mail.

Switches:
-user_id (optional)
The id of the user to check.
Author:
Malte Sussdorff <malte.sussdorff@cognovis.de>

Testcases:
auth__delete_local_account, acs_user__registered_user_p, acs_user__ban_approve
[ show source ]
Show another procedure: