# UserType

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.UserType/

User type enumeration.

- **Full name:** `MFiles.UserType`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-USER_TYPE_UNKNOWN"></a>`USER_TYPE_UNKNOWN` | 0 | Unknown user type (not initialized to any type). |
| <a id="v-USER_TYPE_USER"></a>`USER_TYPE_USER` | 1 | User account. |
| <a id="v-USER_TYPE_USER_GROUP"></a>`USER_TYPE_USER_GROUP` | 2 | User group. |
| <a id="v-USER_TYPE_WORKFLOW_STATE_PSEUDO_USER"></a>`USER_TYPE_WORKFLOW_STATE_PSEUDO_USER` | 3 | Worklow state pseudo user. Indirectly specifies a user on the basis of a state ID (i.e. "the user who moved the object into state X"). |
| <a id="v-USER_TYPE_PROPERTY_BASED_PSEUDO_USER"></a>`USER_TYPE_PROPERTY_BASED_PSEUDO_USER` | 4 | Property-based pseudo user. Indirectly specifies a user or users on the basis of a property value (i.e. "the user(s) specified in the property X"). |

<a id="used-in-fields"></a>

## Used in fields

- [`UserOrUserGroupID.type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.UserOrUserGroupID/index.md#f-type): User type.
- [`UserOrUserGroupIDEx.type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.UserOrUserGroupIDEx/index.md#f-type): User type.
