# IRPCLicenseManagement.DoesLicenseHaveFeature

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md) > [License management](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLicenseManagement/index.md)

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

Badges: `Administration API / specialized` `admin` `session` `idempotent`

Tells which of the requested add-on features (OCR, M-Files Web, AI search and so on) the license
allows.

- **Service:** [License management](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLicenseManagement/index.md) `MFiles.IRPCLicenseManagement`
- **gRPC method:** `/MFiles.IRPCLicenseManagement/DoesLicenseHaveFeature`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/does-license-have-feature`
- **Request:** [`DoesLicenseHaveFeatureRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLicenseManagement/DoesLicenseHaveFeature/index.md#request)
- **Response:** [`DoesLicenseHaveFeatureResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLicenseManagement/DoesLicenseHaveFeature/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- Any session can call it, vault or server-level; no rights are needed. Calls without a
  session fail with `UNAUTHENTICATED`.
- In a vault session, the vault's own license is taken into account.
- Set every feature you are interested in, or `all`; the response repeats the requested features
  that are licensed.

<a id="request"></a>

## Request: DoesLicenseHaveFeatureRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `requested_features` | [`LICENSEDPRODUCTFEATURES`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LICENSEDPRODUCTFEATURES/index.md) | The features to check. See [LICENSEDPRODUCTFEATURES](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LICENSEDPRODUCTFEATURES/index.md). |
| `requested_features.all` | `bool` | Specifies all flags set; Including any future flags. |
| `requested_features.ocr` | `bool` | OCR. |
| `requested_features.electronic_signatures` | `bool` | 21 CFR Part 11. |
| `requested_features.reporting` | `bool` | Data export and Reporting. |
| `requested_features.ocr_hyper_compression` | `bool` | OCR hyper-compression. |
| `requested_features.intelligent_metadata_layer` | `bool` | Intelligent Metadata Layer. |
| `requested_features.web_user_interface` | `bool` | Web User Interface. |
| `requested_features.embedded_google_gsuite` | `bool` | Google g suite. |
| `requested_features.embedded_share_point` | `bool` | SharePoint Online. |
| `requested_features.embedded_salesforce` | `bool` | Salesforce Online. |
| `requested_features.embedded_arc_gis` | `bool` | Esri ArcGIS. |
| `requested_features.outlook_addin` | `bool` | Outlook Add-in. |
| `requested_features.aino_insights` | `bool` | Aino Usage: Semantic Index. |
| `requested_features.ai_search` | `bool` | AI Search. |

<a id="response"></a>

## Response: DoesLicenseHaveFeatureResponse

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `supported_features` | [`LICENSEDPRODUCTFEATURES`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LICENSEDPRODUCTFEATURES/index.md) | The requested features that the license allows; the others are false. |
| `supported_features.all` | `bool` | Specifies all flags set; Including any future flags. |
| `supported_features.ocr` | `bool` | OCR. |
| `supported_features.electronic_signatures` | `bool` | 21 CFR Part 11. |
| `supported_features.reporting` | `bool` | Data export and Reporting. |
| `supported_features.ocr_hyper_compression` | `bool` | OCR hyper-compression. |
| `supported_features.intelligent_metadata_layer` | `bool` | Intelligent Metadata Layer. |
| `supported_features.web_user_interface` | `bool` | Web User Interface. |
| `supported_features.embedded_google_gsuite` | `bool` | Google g suite. |
| `supported_features.embedded_share_point` | `bool` | SharePoint Online. |
| `supported_features.embedded_salesforce` | `bool` | Salesforce Online. |
| `supported_features.embedded_arc_gis` | `bool` | Esri ArcGIS. |
| `supported_features.outlook_addin` | `bool` | Outlook Add-in. |
| `supported_features.aino_insights` | `bool` | Aino Usage: Semantic Index. |
| `supported_features.ai_search` | `bool` | AI Search. |

<a id="related"></a>

## Related methods

- [DoesLicenseHaveFeatureByVaultDNS](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLicenseManagement/DoesLicenseHaveFeatureByVaultDNS/index.md): Tells whether a feature is licensed for the vault that a host name points to, without a session.
