We’re using AD roles mapped to Acumatica roles for quite a few of our users.
Trying to create a selector that gives us a list of users that have certain Acumatica roles, and not able to get the “active” roles. Acumatica does not store the mappings in UsersInRole or anywhere else that we can find.
There are two possible paths to this we’ve found:
- Use PXSelectAllowedRoles from PX.SM
- Not sure how this DAC works or how to use it, but it appears to be the DAC that provides the mapped roles on the users screen. It is used in Access.cs
- Use ActiveDirectoryProvider.GetUsersByGroupIDs(usergroups) or some other method of the ActiveDirectoryProvider. We haven’t completely explored this either.
Does anyone have experience with trying to do this?
Best answer by Troy VarsView original