# APPSHARELIST

#### Syntax

**APPSHARELIST**(*appName*)

* *appName* - the name of the app from which the list of shared users should be returned - ***Value type**: text*

#### Remarks

* The function returns a range where each row contains this user information:
  * *email* - the email address of the user
  * *workspaceRole*- the workspace role of the user\
    Possible values are: “Editor” and “Viewer”
* If the function is executed by a user who doesn’t have the *Editor* role assigned for the specified app, it returns !ERROR.

#### Example

<figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/THuSqZjG1g7QGDbT2Ztg/grafik.png" alt=""><figcaption></figcaption></figure>
