# ClassPermissionsForClient

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) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

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

Evaluated permissions for current user.

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

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-can_user_see"></a>`can_user_see` | `bool` | 1 | The class is visible for the current user. |
| <a id="f-can_user_attach_objects"></a>`can_user_attach_objects` | `bool` | 2 | The current user can attach new objects to this class. |

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

## Used in fields

- [`ObjectClass.current_user_permissions`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectClass/index.md#f-current_user_permissions): If set, specifies the permissions for current user that defines the visibility and other permission settings of this class.
