Forum OpenACS Q&A: Re: tcl procs to get user information?

Collapse
Posted by Randy O'Meara on
Any reason not to use the procs in the acs_user:: namespace? There's also a 'get' proc in there. Looks like the acs_user::get returns additional information and utilizes the cc_users view.

The oacs::user::get proc explicitly joins the users, parties, and persons tables to do essentially the same thing. The oacs:: namespace is pretty sparse... it contains only the oacs::user::get proc.

In general, is it better to join the three tables or use the cc_users view?

Collapse
Posted by Roberto Mello on
Use acs_user::. We should deprecate oacs::user::get. Anyone see a reason why we shouldn't?

-Roberto

Collapse
Posted by tammy m on
How come I can't see acs_user::get in the api-doc? I searched in the latest docs on OpenACS.org and it just doesn't come up.
Collapse
Posted by Randy O'Meara on
CVS Log
Revision 1.12.2.4 / (download) - annotate - [select for diffs], Wed Jul 2 19:24:30 2003 UTC (5 weeks, 2 days ago) by lars
Branch: oacs-4-6
Changes since 1.12.2.3: +171 -0 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored)
Added API for setting/getting bio, updating users and parties, and getting user information ==================================================================================

Looks like it was added on the 4-6 branch by Lars 5 weeks and 2 days ago.