function getAllUsersFromGroup(groupName){
var aux = new Array(2);
$().SPServices({
operation: "GetUserCollectionFromGroup",
groupName: groupName,
async: false,
completefunc: function (xDataUser, Status) {
$(xDataUser.responseXML).find("User").each(function() {
var name =$(this).attr('Name');
//var iD = $(this).attr("ID");
//var userID = iD +";#"+name;
var email = $(this).attr('Email');
aux.push(email,name);
});
}
});
return aux;
}