---
title: "addUserPicture"
canonical: "https://support.appfire.com/space/CSOAP/68459121/addUserPicture"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458401)

> Macro (details)
> 
> | **Description** | Add a picture to the user's profile. Must be an image mime type. Not available for Cloud. |
> | --- | --- |
> | **Required Parameters** | [userId](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459187), [file](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455055) |
> | **Optional Parameters** | [mime](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459503) |
> | **Type** | [Create](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455033/Action+Types#ActionTypes-Create) |
> | **Category** | [Users](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455044/Action+Categories#ActionCategories-Users) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | server,datacenter |
> | **Since Version** |  |
> | **Examples** | [addUserPicture](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458176/Examples#Examples-addUserPicture) |

## Related How To's

> Macro (cql-query)