This article details the steps necessary to filter an application in Semarchy xDM based on the roles of the connected user. While the core components of this solution can be applied to multiple scenarios, this article focuses on filtering Business Views.

The provided example uses the CustomerB2C demo application: the objective is to filter products depending on their origin and the regional roles (e.g "Data Steward USA", "Data Steward Asia"...) owned by the connected user.

Solution overview

This solution is based on:

  • The USER_ROLES built-in SemQL variable: this variable provides the list of roles of the connected user
  • The... (More)