Ax – D365FO – Assign users to security roles dynamically

The HR department of USMF has requested to dynamically assign users to the Accounting supervisor role based on a criterion defined by HR department. Associate the Accounting supervisor role based on the rule defined by the HR department to the selected employees.

Go to System administration > Security > Assign users to roles.

  • In the tree, select Accounting supervisor.
  • Select Add rule to open the drop dialog.
  • In the list, find and select the wanted query rule, such as ‘FMDynamicRoleAssignmentWorkerTitle’.
  • In the list, select the link in the selected row.
  • Select Edit query. You can change the query as you desire.
  • Select OK.
  • Close the page.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s