Showing posts with label current user. Show all posts
Showing posts with label current user. Show all posts

Thursday, 20 August 2020

How to get current user information using SPServices?

 

currUser = $().SPServices.SPGetCurrentUser({

fieldNames: ["WorkEmail"], //Name (account name) is the default property

debug: false

});



currUserArr = $().SPServices.SPGetCurrentUser({

fieldNames: ["ID", "Name", "SIP Address"],

debug: false

});