# WorkspaceSettingsAction

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.WorkspaceSettingsAction/

Workspace setting actions.

- **Full name:** `MFiles.WorkspaceSettingsAction`
- **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-WORKSPACE_SETTINGS_ACTION_APPLY_PERSONAL_SETTINGS"></a>`WORKSPACE_SETTINGS_ACTION_APPLY_PERSONAL_SETTINGS` | 0 | Apply settings for current user. |
| <a id="v-WORKSPACE_SETTINGS_ACTION_RESET_TO_DEFAULT"></a>`WORKSPACE_SETTINGS_ACTION_RESET_TO_DEFAULT` | 1 | Reset current user settings to default. Settings struct is ignored. |
| <a id="v-WORKSPACE_SETTINGS_ACTION_SET_AS_DEFAULT_TO_ALL_USERS"></a>`WORKSPACE_SETTINGS_ACTION_SET_AS_DEFAULT_TO_ALL_USERS` | 2 | Apply settings as default for all users. Requires admin privileges. |
| <a id="v-WORKSPACE_SETTINGS_ACTION_SET_AS_DEFAULT_TO_ALL_USERS_OVERRIDE"></a>`WORKSPACE_SETTINGS_ACTION_SET_AS_DEFAULT_TO_ALL_USERS_OVERRIDE` | 3 | Apply settings as default for all users. Overrides all existing user settings. Requires admin privileges. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCWorkspace.SetWorkspaceSettings](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkspace/SetWorkspaceSettings/index.md): Stores the tab order of the workspace of an object type for the caller or as the default for all users, or resets the caller's order.

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

## Used in fields

- [`SetWorkspaceSettingsRequest.workspace_settings_action`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkspace/SetWorkspaceSettings/index.md#request): What to do. Leave unset (`WORKSPACE_SETTINGS_ACTION_APPLY_PERSONAL_SETTINGS`) to store the caller's own order.
