getUserThumbnailUrl

Function

Construct a the full url to a user thumbnail

  • If the user has a thumbnail, construct the full url
  • If the user is not public, append on the token
  • getUserThumbnailUrl(portalUrl: string, user: IUser, token: string) : string

Parameters

Parameter Type Default Notes
portalUrl Required string
user Required IUser
token Optional string

Returns

string

Function defined in common/src/search/utils.ts:261