I have a button that collects the currently logged in users email address that is working for most of the 7k plus users accessing it. I have 20 tickets for users that the function is not working for. The current code that the growing number of users are having an issue with is:
<script language="javascript" type="text/javascript" src="https://.../sites/assets/SiteAssets/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="https://.../sites/assets/SiteAssets/jquery.SPServices-2013.01.js"></script>
<!-- END -->
</head>
<body>
<script type="text/javascript">
var thisUserAccount = $().SPServices.SPGetCurrentUser({fieldName: "EMail", debug: false});
In the code above, the email address is returned for most users, but for a growing number of folks, thisUserAccount is blank.
I have also tried SipAddress with the same outcome.
If I change to Title, the users experiencing the problem return their name correctly. I have been working on this for an entire day and hope someone can help.
Office 365, Windows 7, IE10
Comments: The ID is returning blank for me, but the code is working fine in my case. I have checked the user profiles for the users that are not working and they have an email address and a sip address which match.
<script language="javascript" type="text/javascript" src="https://.../sites/assets/SiteAssets/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="https://.../sites/assets/SiteAssets/jquery.SPServices-2013.01.js"></script>
<!-- END -->
</head>
<body>
<script type="text/javascript">
var thisUserAccount = $().SPServices.SPGetCurrentUser({fieldName: "EMail", debug: false});
In the code above, the email address is returned for most users, but for a growing number of folks, thisUserAccount is blank.
I have also tried SipAddress with the same outcome.
If I change to Title, the users experiencing the problem return their name correctly. I have been working on this for an entire day and hope someone can help.
Office 365, Windows 7, IE10
Comments: The ID is returning blank for me, but the code is working fine in my case. I have checked the user profiles for the users that are not working and they have an email address and a sip address which match.