# WorkspaceSettingsScope

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

Workspace settings scope. Selects which row the GetWorkspaceSettings call returns.

- **Full name:** `MFiles.WorkspaceSettingsScope`
- **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_SCOPE_EFFECTIVE"></a>`WORKSPACE_SETTINGS_SCOPE_EFFECTIVE` | 0 | Return the caller's effective workspace settings (their own tab order): the user's personal row, falling back to the stored defaults row, reconciled with every view the caller can see. Use this to render the user's own workspace. |
| <a id="v-WORKSPACE_SETTINGS_SCOPE_DEFAULTS"></a>`WORKSPACE_SETTINGS_SCOPE_DEFAULTS` | 1 | Return the admin-set default settings only (the UA_WORKSPACESETTINGS row with ID_USERACCOUNT = unset), with no personal fallback, reconciled with the common views. Use this to compare against, reset to, or otherwise surface the defaults in the UI. |

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

## Used by methods

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

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

## Used in fields

- [`GetWorkspaceSettingsRequest.scope`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkspace/GetWorkspaceSettings/index.md#request): Which order to return. Leave unset (`WORKSPACE_SETTINGS_SCOPE_EFFECTIVE`) for the caller's own effective order.
