Skip to main content

Type

This interface is used to show the properties of getRoles options.

PropertyTypeOptionalDescription
includeNextLevelsbooleanWhether to include next levels.
includePreviousLevelsbooleanWhether to include previous levels.
info

By default, roleSetup.getRoles() will only include roles from the current level.

For each option you set to true, it will include the respective roles, and will stack with the other options, including user's current level.