SimK:
I think I may have a bug. If you request the ID singly, like so:
I think it will work fine. However, using fieldNames, it doesn't look like I do the appropriate check for undefined.
I'll add this to the Issue Tracker. In the meantime, you can just use the JavaScript variable _spPageContextInfo.userId.
M.
I think I may have a bug. If you request the ID singly, like so:
var currentUser = $().SPServices.SPGetCurrentUser({ fieldName: "ID" });
I'll add this to the Issue Tracker. In the meantime, you can just use the JavaScript variable _spPageContextInfo.userId.
M.