GetProfilePictureUrl([user]) Last updated: 30. Aug 2024

API only function

This function retrieves the URL of a user's profile picture from the system. It returns a string containing the direct link to the image, which can be used to display the user's profile picture in applications or web interfaces.

Parameters

Name Type Description
user (optional) string

Returns

Link to profile image, or null if not available.

Example

Code example (JS)

JS is normal JavaScript either running in the browser or on the Docly™ server.
let email = "test@docly.net";
let url = docly.getProfilePictureUrl(email);

return url;