---
lang: en
title: 'API docs: authorization.authorizationcontext.roles'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.authorization.authorizationcontext.roles.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authorization](./authorization.md) &gt; [AuthorizationContext](./authorization.authorizationcontext.md) &gt; [roles](./authorization.authorizationcontext.roles.md)

## AuthorizationContext.roles property

An array of roles for principals

<b>Signature:</b>

```typescript
roles: Role[];
```

