# types.CheckRolesResult

[@polymeshassociation/polymesh-sdk](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/classes) / [Modules](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/modules) / [types](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/modules-1/types) / CheckRolesResult

## Interface: CheckRolesResult

[types](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/modules-1/types).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`](https://developers.polymath.network/polymesh-sdk-api-reference/docs-alpha/modules-1/types#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)
