Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9172085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:15:41+00:00 2026-06-17T16:15:41+00:00

I am currently using AD groups to manage roles and access to Dynamics AX

  • 0

I am currently using AD groups to manage roles and access to Dynamics AX 2012. So for example I have and AD group called GG_AX_SalesRepresentative and it is used to allow everyone in the group to log on to Dynamics AX and to receive the corresponding role in Ax.

So this is working and users that log on to Dynamics Ax and are member of the group will automatically be created within Dynamics AX and receive a $CA2D like userId. They have no role assignments because AX knows that they came from the AD group and the roles are defined on the group itself. Thus management of users through groups is ok and working.

But now I need to provide a Custom service to a third party that returns all of the legal entities where a role assignment for a given user is active. Fe: I want to pass a UserId to the service and it must check if that user is service desk user and if zo, check in what legal entities…..

User data can be found in the UserInfo table.
User role assignments can be found in the SecurityUserRole table.

It seems I would have the data I need, except for the fact that the User Role assignments are done on the group! How can I find which groups this user is linked to within Dynamics???

So what I want to know : I have user $CA2D, he is member of the helpdesk role since he was a member of that group and thus he has the roles linked to that AD group.

Any ideas would be welcome 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:15:43+00:00Added an answer on June 17, 2026 at 4:15 pm

    We have worked our way around this and have written some logic that queries the AD to see if the user is in the group on the AD and then we look up the group in AX with the same network alias. This way we can fetch the roles attached to that role.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently using Xcode 4.2 and I have two view controllers (1 and 2). I
I currently using android NDK to write some native code in C. I have
I'm using the System.DirectoryServices.AccountManagement namespace classes to manage the membership of several groups. These
I am currently using the FullCalendar JQuery module to allow a user to create
I'm using Connect By query to show hierarchical groups on a group, on this
I really enjoy using upstart. I currently have upstart jobs to run different gunicorn
I am using Datatables Collapsible/Expandable Grouping. I have configured it so that all groups
I have a system set up currently that is using celery with a redis
Using my c++ program how can I find out what group the current user
Currently using the HTTPServletRequest class and specifically the .getQueryString method to retrieve an inputted

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.