ad_privacy_threshold (public, deprecated)

 ad_privacy_threshold

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Pages that are consider whether to display a user's name or email address should test to make sure that a user's priv_ from the database is less than or equal to what ad_privacy_threshold returns. Now deprecated.

See Also:

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc ad_privacy_threshold
    set session_user_id [ad_conn user_id]
    if {$session_user_id == 0} {
        # viewer of this page isn't logged in, only show stuff
        # that is extremely unprivate
        set privacy_threshold 0
    } else {
        set privacy_threshold 5
    }
    return $privacy_threshold
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/deprecated-procs.xql

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