party::get_by_email (public)
party::get_by_email -email email
Defined in packages/acs-tcl/tcl/community-core-procs.tcl
Return the party_id of the party with the given email. Uses a lowercase comparison as we don't allow for parties to have emails that only differ in case. Returns empty string if no party found.
- Switches:
- -email (required)
- Returns:
- party_id
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_mail_lite_inbound_procs_check, community_cc_procs, party_procs_test
Source code: set key [list get_by_email $email] while {1} { set party_id [ns_cache eval party_info_cache $key { set party_id [party::get_by_email_not_cached -email $email] # # Don't cache results from invalid parties. # if {$party_id eq ""} { break } return $party_id }] break } return $party_idGeneric 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