# Turning "Allow User Management" On/Off

Straatos API allows a Script Task to create, update, and delete user accounts. This API functionality is created so workflows can for example add users and assign roles based on an imported user list. However, if this function is not needed, an Administrator might want to limit access to user accounts from within the Scripts so that user accounts are not unnecessarily exposed.

This can be done by setting ‘Allow User Management' to 'Off', which is also the default option.

### Configuration

The configuration can be made in the Workflow Settings, option 'Allow User Management'. See screenshot below.

<figure><img src="/files/7pLob3DSrlqzTPjHwL6p" alt=""><figcaption></figcaption></figure>

By default, for any newly created workflow, the option is set to 'Off'.

If the setting is 'Off', any script that tries to update, create, delete an Account will fail.

If the setting is 'On', scripts that use the update, create, delete function for an Account will execute.


---

# 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://help.cumuluspro.net/configuration-guide/turning-allow-user-management-on-off.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.
