# 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="/files/b6tH9pAlR347bSIaKdbE" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/version-1.66/nedyx/clearlines-functions/user-management-functions/appsharelist.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
