ADMIN_Roles

Show allHide all

Deprecated. Don't use for new development and try to migrate existing uses.

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!

Parameters

@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.

Resultsets

Resultset: Roles

Table count: repeated exactly once
Row count: zero or more rows

Columns

RoleID mandatory int
Role ID
RoleName mandatory string
Role name
RoleDescription mandatory string
Role description
SortOrder mandatory int
Sort order