modules/orionode/lib/shared/db/sharedProjects.js
function getUsersInProject(project) {
		return sharedProject.findOne({'location': project}).exec()
		.then(function(doc) {
			return doc ? doc.users : undefined;
		});
	}
function getUsersInProject(project) {
		return sharedProject.findOne({'location': project}).exec()
		.then(function(doc) {
			return doc ? doc.users : undefined;
		});
	}
function getUsersInProject ( project ) { return sharedProject . findOne ( { 'location' : project } ) . exec ( ) . then ( function ( doc ) { return doc ? doc . users : undefined ; } ) ; }
Returns the list of users that the project is shared with.
Returns the list of users that the project is shared with .