AnsweredAssumed Answered

people-finder - how to get user's organization and role?

Question asked by juha on Mar 27, 2011

we are planning to using Alfresco Share as an Extranet solution. However, for this I need to e.g. restrict that only "site-manager" users or users within a given organization can see all users in people-finder.

In people-finder.js I can get the username by "Alfresco.constants.USERNAME", however, how do I get the full user object by the username, in order to get the user's organization and role?