We use Google apps for enterprise, and I want to build an intranet, based on the Google sites intranet template
In the Directory area, I want that the list will be updated from my contact/company list directory.
Is it possible?
The following code retrieves the users, present within the Google Apps Domain:
Add this script, via the Google Apps Script gadget, to your page and the people will appear. See working example: domain users by script
There are however some prerequisites:
You can also use a script within a spreadsheet and display the users in a spreadsheet:
Set a trigger on the script, to refresh the users for lets say every 12 hours. An administrator needs to prepare the sheet once. See working example: domain users by spreadsheet
Note: Apparently the Domain Service "...was deprecated on May 15, 2014, and will be turned off on November 20, 2014. To manage your domain, use the Admin SDK Directory and Admin SDK Reports advanced services instead. See the guide to migrating from Domain service." per the documentation page for the UserManager Class.