In this article. I have explained how to get all the properties of the SharePoint user using pnp js. For example the sample properties listed below:- PictureURL Department