[opencms-dev] CmsUser content type

Antonio Cordeddu antoniocordeddu at coranto.it
Wed Jun 29 18:28:14 CEST 2016


In order to display all user attributes you have to use the CmsUser class.

You can also display current user attributes by using the <cms:user> 
tag, but, if I understand correctly your use case, it's not useful your 
scenario.

Kind regards
Antonio

  
_______________________________________________
Coranto informatica di Antonio Cordeddu
antoniocordeddu at coranto.it
Skype: antonio.cordeddu
http://www.coranto.it
_______________________________________________



On 29/06/2016 15:08, Honey.Bhandari at cognizant.com wrote:
> Thanks for the response!
>
> I was trying to find if I could make my own custom content type where I allow the user to select an existing contact (User) who may be responsible for something and then I could display the user attribute through a formatter.
>
> Regards
> Honey
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of antoniocordeddu at coranto.it
> Sent: Wednesday, June 29, 2016 6:35 PM
> To: The OpenCms mailing list <opencms-dev at opencms.org>
> Subject: Re: [opencms-dev] CmsUser content type
>
> Hi Honey
>
> there is not content type for CmsUser. The users are managed with two dedicated database tables: CMS_USER and CMS_USERDATA.
>
> I hope this help you.
> Antonio Cordeddu
>
> Coranto Informatica
> www.coranto.it
>
> Il 2016-06-29 14:33 Honey.Bhandari at cognizant.com ha scritto:
>> Hi
>>
>> Is there a pre-defined content type that I could use so that I can
>> select a CMS user? I understand that there is a widget to select
>> OpenCmsUser -
>>
>> <layout element="Contact" widget="UserWidget" />
>>
>> Regards
>>
>> Honey This e-mail and any files transmitted with it are for the sole
>> use of the intended recipient(s) and may contain confidential and
>> privileged information. If you are not the intended recipient(s),
>> please reply to the sender and destroy all copies of the original
>> message. Any unauthorized review, use, disclosure, dissemination,
>> forwarding, printing or copying of this email, and/or any action taken
>> in reliance on the contents of this e-mail is strictly prohibited and
>> may be unlawful. Where permitted by applicable law, this e-mail and
>> other e-mail communications sent to and from Cognizant e-mail
>> addresses may be monitored.
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list To change
>> your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
> This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>



More information about the opencms-dev mailing list