Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Finding if a Role is assigned to users

Posted on by 345

Hi 

Is there a way to check all Roles in the system and check for each of them if they are assigned to a user? that includes sub roles as well?

Thanks!

  • Waller Walker Profile Picture
    Waller Walker 345 on at
    RE: Finding if a Role is assigned to users

    Thanks a lot to you all.

  • Verified answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,147 on at
    RE: Finding if a Role is assigned to users

    You could also do it from the AX development client easily in a Job, or by simple table browsing like this:

    AOT > System documentation > Tables > SecurityRole > Right click > Add-ins > Table browser.

    Take note of the RecId of the role you are interested in, like -SYSADMIN- standing for System Administrator access.

    AOT > System documentation > Tables > SecurityUserRole > Right click > Add-ins > Table browser.

    Filter the SecurityRole column for the RecId of the role, and you will see all users.

  • Verified answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Finding if a Role is assigned to users

    Hi Waller Walker,

    Please check the assign user to roles form.

    In the lower part part you can identify the users that are assigned to a specific role.

    Best regards,

    Ludwig

  • Verified answer
    Sagar Suman Profile Picture
    Sagar Suman 5,774 on at
    RE: Finding if a Role is assigned to users

    Hi Waller Walker,

    You can navigate to system administration > security > security configuration to see all the roles in the system. By selecting the role you want to inquire for check the references where you can see all sub roles and even the parent roles for it.

    For the user assigned to the roles kindly check the users in the system administration and open the user details to see all the assigned roles to that user.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,835 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,526 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans