I am getting the same issue of not getting the user info using SPGetCurrentUser.() I have tried the following:
-- Quotes are fine
-- Able to access the userdisp.aspx as the user.
-- Using the following version of js files:
-- I put alert around the call and the second alert doesn't get called.
var thisSite = $().SPServices.SPGetCurrentSite();
alert(thisSite);
sUserEmail = $().SPServices.SPGetCurrentUser({ fieldName: 'EMail', debug: false });
alert(sUserEmail);
Any idea what could be the issue?
-- Quotes are fine
-- Able to access the userdisp.aspx as the user.
-- Using the following version of js files:
jquery-1.9.0.js , jquery.SPServices-0.7.2.min.js
-- Other functions that I have tried are working for example -- GetListItems using SPServices and $().SPServices.SPGetCurrentSite()-- I put alert around the call and the second alert doesn't get called.
var thisSite = $().SPServices.SPGetCurrentSite();
alert(thisSite);
sUserEmail = $().SPServices.SPGetCurrentUser({ fieldName: 'EMail', debug: false });
alert(sUserEmail);
Any idea what could be the issue?