# types.CheckRolesResult

[@polymeshassociation/polymesh-sdk](/polymesh-sdk-api-reference/docs-alpha/classes.md) / [Modules](/polymesh-sdk-api-reference/docs-alpha/modules.md) / [types](/polymesh-sdk-api-reference/docs-alpha/modules-1/types.md) / CheckRolesResult

## Interface: CheckRolesResult

[types](/polymesh-sdk-api-reference/docs-alpha/modules-1/types.md).CheckRolesResult

Result of a `checkRoles` call

### Table of contents

#### Properties

* [message](#message)
* [missingRoles](#missingroles)
* [result](#result)

### Properties

#### message

• `Optional` **message**: `string`

optional message explaining the reason for failure in special cases

**Defined in**

[types/index.ts:988](https://github.com/PolymathNetwork/polymesh-sdk/blob/31dfa0dc/src/types/index.ts#L988)

***

#### missingRoles

• `Optional` **missingRoles**: [`Role`](/polymesh-sdk-api-reference/docs-alpha/modules-1/types.md#role)\[]

required roles which the Identity *DOESN'T* have. Only present if `result` is `false`

**Defined in**

[types/index.ts:980](https://github.com/PolymathNetwork/polymesh-sdk/blob/31dfa0dc/src/types/index.ts#L980)

***

#### result

• **result**: `boolean`

whether the signer possesses all the required roles or not

**Defined in**

[types/index.ts:984](https://github.com/PolymathNetwork/polymesh-sdk/blob/31dfa0dc/src/types/index.ts#L984)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/interfaces/types.checkrolesresult.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
