MicrosoftGraphClient.getUserPhotoWithSizeLimit()
Home > @backstage/plugin-catalog-backend-module-msgraph > MicrosoftGraphClient > getUserPhotoWithSizeLimit
Get profilePhoto of User from Graph API with size limit
Signature:
getUserPhotoWithSizeLimit(userId: string, maxSize: number): Promise<string | undefined>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
userId |
string |
The unique identifier for the |
|
maxSize |
number |
Maximum pixel height of the photo |
Promise<string | undefined>