Is there any way to get the url of the profile picture for a specific user?
In SharePoint, there are tons of different ways of getting a profile pic. ;)
I'd suggest taking a looks at any profile pic on a tenant in standard UI and use the same logic in the app.
E.g.:
Sorry, I didn't specify that I'm using Sharepoint 2016 On-premises,I know that this service is available using Sharepoint online, but is it available using SP2016 On-premises?
Thanks.
In SP 2016 userphoto.aspx can be used: /_layouts/15/[email protected]&Size=L.
Thanks.
Most helpful comment
In SP 2016
userphoto.aspxcan be used:/_layouts/15/[email protected]&Size=L.