# 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://1085786630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWv5M2BoEVu0kDIV5EPs4%2Fuploads%2Fgit-blob-27dfeb105741671248e141a439f24cf0e2f0a4c7%2Fgrafik.png?alt=media" alt=""><figcaption></figcaption></figure>
