Type: Table-valued function

Lists all functions in a role, with their names translated.

Use this function instead of making lookups from the ADMINRole table!


@ModuleID optional int
ModuleID to get roles from. You usually specify DEFAULT.

At this moment there is no normal use case where you'd want roles from a module other than the default.
Customer project module.
@LanguageID optional int
LanguageID to get translations for. The system's default language.


Resultset: Roles

Table count: repeated exactly once
Row count: zero or more rows
RoleID mandatory int
Role ID
RoleName mandatory string
Role name
RoleDescription mandatory string
Role description
SortOrder mandatory int
Sort order