[rt-users] Using User Custom Fields
Ruslan Zakirov
ruslan.zakirov at gmail.com
Fri Mar 3 06:11:44 EST 2006
I think code is (untested):
$user_obj->FirstCustomFieldValue('cf_name');
On 3/3/06, Chuck Boeheim <boeheim at slac.stanford.edu> wrote:
> Hi Folks,
> Does anyone have a code snippet that would retrieve a user custom
> field value, given an RT::User object? E.g., running through the
> AdminCc list for a ticket get a custom field value for each user such
> as Role in a custom action or template? I've got the custom field
> defined for users in the database, and can see the values; just need
> to extract them now.
> Regards,
> -Chuck
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.htm
>
--
Best regards, Ruslan.
More information about the rt-users
mailing list