Aller au contenu principal

Type

Options for LevelRoles.getUserRoles().

PropertyTypeOptionalDescription
includeCurrentboolean✅Include roles for the user's current level.
includeNextboolean✅Include roles for levels greater than the user.
includePreviousboolean✅Include roles for levels lower than the user.
info

By default, LevelRoles.getUserRoles() includes only roles from the user's current level (includeCurrent = true). Setting other options to true will include those roles in addition to current-level roles.