acs_community_member_link (public)

 acs_community_member_link -user_id user_id [ -label label ]

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

Switches:
-user_id (required)
-label (optional)
Returns:
the link of the community member page of a particular user
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_user_links_api user_links_api (test acs-tcl) acs_community_member_link acs_community_member_link test_user_links_api->acs_community_member_link acs_community_member_url acs_community_member_url (public) acs_community_member_link->acs_community_member_url acs_user::get acs_user::get (public) acs_community_member_link->acs_user::get packages/acs-admin/www/auth/batch-action.tcl packages/acs-admin/ www/auth/batch-action.tcl packages/acs-admin/www/auth/batch-action.tcl->acs_community_member_link packages/acs-admin/www/auth/batch-job.tcl packages/acs-admin/ www/auth/batch-job.tcl packages/acs-admin/www/auth/batch-job.tcl->acs_community_member_link packages/acs-lang/www/admin/edit-localized-message.tcl packages/acs-lang/ www/admin/edit-localized-message.tcl packages/acs-lang/www/admin/edit-localized-message.tcl->acs_community_member_link packages/bug-tracker/www/patch.tcl packages/bug-tracker/ www/patch.tcl packages/bug-tracker/www/patch.tcl->acs_community_member_link packages/file-storage/www/file.tcl packages/file-storage/ www/file.tcl packages/file-storage/www/file.tcl->acs_community_member_link

Testcases:
user_links_api
Source code:
    if {$label eq ""} {
        set user [acs_user::get -user_id $user_id]
        set label "[dict get $user first_names] [dict get $user last_name]"
    }
    set href [acs_community_member_url -user_id $user_id]
    return [subst {<a href="[ns_quotehtml $href]">$label</a>}]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: