# Users

{% hint style="info" %}
User permission: Administration > Users
{% endhint %}

As an administrator, you control who sees what in Phocas by determining the databases each user can access and restricting access to certain data within those databases. You can make these changes for individual users one at a time, or multiple users in bulk.

In the Phocas menu, click **Administration** > **Users**.

<div align="left"><figure><img src="https://content.gitbook.com/content/vQCmtGTR7MsjcI62Vdki/blobs/WRRNlKgZfbqhgCFxS1vA/3224994112.png" alt="" width="307"><figcaption></figcaption></figure></div>

The **Users** page lists the users whom you have permission to administer, along with details, such as their email address, group, territory, profile, and the time they last logged in to Phocas.

<figure><img src="https://content.gitbook.com/content/vQCmtGTR7MsjcI62Vdki/blobs/I5aIirTK5h5oD3YFuRpW/3225321650.png" alt="" width="946"><figcaption></figcaption></figure>

## Find a user <a href="#users-findauser" id="users-findauser"></a>

You can either:

* Click a column header to sort the list of users into ascending or descending order to more easily find a user in the list.
* Use the **Search** box to find a particular user. You can apply a wildcard search against all user attributes, such as email address, name, and so on.

## Switch to the Database or License view <a href="#users-switchtothedatabaseorlicenseview" id="users-switchtothedatabaseorlicenseview"></a>

You can change your view of the **User** page to quickly find out information or complete certain tasks related to licenses and databases. Click the green **Users** button in the top left corner and select the required option, **License** or **Database**. You can then return to the **User** view in the same way.

<div align="left"><figure><img src="https://content.gitbook.com/content/vQCmtGTR7MsjcI62Vdki/blobs/MUwR68CkJ6OItUDScAOK/3224994360.png" alt="" width="141"><figcaption></figcaption></figure></div>

### License view <a href="#users-licenceview" id="users-licenceview"></a>

The **License** view displays the basic user details along with additional columns showing each user's [Phocas license type](https://app.gitbook.com/s/7pj8v25BOyqZTdG5mdD1/getting-started/user-permissions-and-licenses) and whether they have a CRM, Rebates or Insights license. Above the grid, you can see the number of licenses (both full and viewer types) that are in use, which is based on the number of users who are entitled to use Phocas under your licensing arrangements. If you are approaching the maximum number of licenses, you can either contact your Phocas consultant about increasing the license count or reduce your user count by deleting users who no longer require access.&#x20;

In addition to getting a holistic view of your user licenses, you can make changes to a specific user's license type, or add or remove licenses here.

To assign a license to one or more users, select the applicable checkbox (**CRM**, **Rebates**, or **Insights**) for those users, then click **Save**.

<figure><img src="https://content.gitbook.com/content/vQCmtGTR7MsjcI62Vdki/blobs/qZXv2ug4FCRWTW60nI01/3225288799.png" alt="" width="939"><figcaption></figcaption></figure>

### Database view <a href="#users-databaseview" id="users-databaseview"></a>

The **Database** view displays the basic user details along with the databases that they can access. If a database cell is empty, it means the user does not have access to a database.

In addition to getting a holistic view of each user’s database access, you can [manage user database access and restrictions](https://docs.phocassoftware.com/administration/users/manage-a-users-database-access-and-restrictions) from here.

<figure><img src="https://content.gitbook.com/content/vQCmtGTR7MsjcI62Vdki/blobs/BIhKMXn1gAczobqHciAy/3225616397.png" alt="" width="906"><figcaption></figcaption></figure>

## Open a user account <a href="#users-openauseraccount" id="users-openauseraccount"></a>

To view a user’s details, settings and usage, click the user’s name (blue link) to open their [user account page](https://docs.phocassoftware.com/administration/users/add-update-user/user-account-page).

## Manage users <a href="#users-manageusers" id="users-manageusers"></a>

You can carry out the following user-related tasks. In most cases, you need to select a user row to activate the functions.

* [Add, clone, import, update, and delete users](https://docs.phocassoftware.com/administration/users/add-update-user)
* [Reset or expire passwords](https://docs.phocassoftware.com/administration/users/manage-user-passwords)
* [Lock user accounts](https://docs.phocassoftware.com/administration/users/lock-user-accounts)

## Send emails to users <a href="#users-sendemailstousers" id="users-sendemailstousers"></a>

If [SMTP](https://docs.phocassoftware.com/administration/configuration#smtp) has been configured for your Phocas site and the selected users have a stored email address, you can send administration-related emails to one or more users.

Select the user(s) and click **More**, then select either of these options:

* **Compose Email** - Opens a new email in your default email application with the selected users' email addresses pre-populated in the BCC field. This option is only available if SMTP has been configured for your Phocas site and if at least one of the selected users has a stored email address.
* **Email Details** - Sends the selected users an email containing their username and the URL defined in the **ExternalURL** system setting.


---

# 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.phocassoftware.com/administration/users.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.
