AnsweredAssumed Answered

Company ID field not available for 'user' object in FreeMarker

Question asked by purohitsumit on Mar 13, 2014
Latest reply on Mar 14, 2014 by purohitsumit
Hi,

I am trying to use user information in a Free Marker Template.


  <b>Id:</b> ${user.id}
  <b>Job Title :</b> ${user.jobTitle}
  <b>Location :</b> ${user.location}


works fine in my template page.
As an admin i create new users on repository webapp ( not share ) and there is a field "Company ID" which i fill-out for every user.
But as per documentation on http://docs.alfresco.com/4.2/topic/com.alfresco.enterprise.doc/references/APISurf-user.html there is no way to access companyid.

Am i missing something here ? or is there a way to access that field of user profile.
I am using alfresco 4.2.c

Thanks
Sumit Purohit

Outcomes