Get
|
|||||
|
|
Retrieve photo of a user
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage the provisioning of users on your domain
- View users on your domain
Input
This building block consumes 1 input parameters
Name | Format | Description |
---|---|---|
userKey Required |
STRING |
Email or immutable ID of the user |
= Parameter name
= Format
userKey STRING Required Email or immutable ID of the user |
Output
This building block provides 8 output parameters
Name | Format | Description |
---|---|---|
kind |
STRING |
Kind of resource this is |
mimeType |
STRING |
Mime Type of the photo |
primaryEmail |
STRING |
Primary email of User (Read-only) |
photoData |
BINARY |
Base64 encoded photo data |
height |
INTEGER |
Height in pixels of the photo |
etag |
STRING |
ETag of the resource |
width |
INTEGER |
Width in pixels of the photo |
id |
STRING |
Unique identifier of User (Read-only) |
= Parameter name
= Format
kind STRING Kind of resource this is |
mimeType STRING Mime Type of the photo |
primaryEmail STRING Primary email of User (Read-only) |
photoData BINARY Base64 encoded photo data |
height INTEGER Height in pixels of the photo |
etag STRING ETag of the resource |
width INTEGER Width in pixels of the photo |
id STRING Unique identifier of User (Read-only) |