Type
LevelRoles.getUserRoles() 用のオプションです。
| Property | Type | Optional | Description |
|---|---|---|---|
| includeCurrent | boolean | ✅ | ユーザーの現在レベルのロールを含めます。 |
| includeNext | boolean | ✅ | ユーザーより高いレベルのロールを含めます。 |
| includePrevious | boolean | ✅ | ユーザーより低いレベルのロールを含めます。 |
備考
既定では、LevelRoles.getUserRoles() はユーザーの現在レベルのロールのみを含めます (includeCurrent = true)。
他のオプションを true にすると、それらのロールが現在レベルのロールに追加されます。