Active Directory job title mapping with ServiceCenter Role

Hi, our team is developing an App with 10-20 modules. We will use Active Directory for login, and will need to use the AD user jobtitle to create business logic on the modules. The user might be between 5000-6000 users with 1500 different AD job titles. 

My question is, it is a good practice to map AD job titles to the ServiceCenter "Role" for this case? Or is it better to create a custom Role or custom core Role module for this case?



Thanks


Solution

Hi Henry,

If you are talking about users that will work with the App you are developing, then your second alternative creating a module with all Roles to be shared and used among your 10-20 modules seems to be a valid approach.

Make sure the Roles are public. On the creation of new users in OutSystems (for each Azure AD user), you can add a UserRole record, effectively assigning the role to the user.

Regards,

Daniel

Solution

Daniël Kuhlmann wrote:

Hi Henry,

If you are talking about users that will work with the App you are developing, then your second alternative creating a module with all Roles to be shared and used among your 10-20 modules seems to be a valid approach.

Make sure the Roles are public. On the creation of new users in OutSystems (for each Azure AD user), you can add a UserRole record, effectively assigning the role to the user.

Regards,

Daniel

Hi Daniel,

Thanks for the answer. Yes, there will be 5000-6000 users that will use the application we are building.  By creating a module with all Roles to be shared, you are referring to the "Role" and "User_Role" provided by the "System" module right? Or do you mean by creating custom Entity for Role and UserRole?


Thanks


Hi Henry,

Yes indeed, the build-in OutSystems functionality. That way you can leverage all build in Role validation functionality of OutSystems. 

Regards,

Daniel

Hi Daniel, Thank you for the answer, really appreciate it