code: function getSharedWorkspace(req, res) {
  		return sharedUtil.getSharedProjects(req, res, function(projects) {
  				var workspaces = [];
  				projects.forEach(function(project){
  					var projectSegs = project.Location.split("/");
  					var projectBelongingWorkspaceId = sharedUtil.getWorkspaceIdFromprojectLocation(project.Location);
  					if(!workspaces.some(function(workspace){
  						return workspace.Id === projectBelongingWorkspaceId;
  					})){
  						workspaces.push({
  							Id: projectBelongingWorkspaceId,
  							Location: api.join(sharedWorkspaceFileRoot, projectBelongingWorkspaceId),
  							Name: projectSegs[2] + "'s " + projectSegs[3]
  						});
  					}
  				});
  				writeResponse(null, res, null, {
  					Id: req.user.username,
  					Name: req.user.username,
  					UserName: req.user.fullname || req.user.username,
  					Workspaces: workspaces
  				}, true);
  		});
  	}
docs: Get shared projects for the user.