We are in the process of upgrading from Alfresco 3.0 to Alfresco 3.1 SP 1 and the following script like used to work:
// Get all the memberships
var memberships = site.listMembers(null, null);
It is now giving me an error saying that this method does not exist. According to the documentation, this method does exist. What is going on?