How to determine what Windows Group a Login is part of

daborgdaborg Member Posts: 54
I have set up my Windows Groups and and assigned them permissions in NAV. I have added a test user to this group and while within NAV they get the correct permissions.

One question though is that I have code that needs to determine if the logged in user has a specific security role. How can I determine what groups the user is part of? I cannot find any table that gives me this information, and the Windows Access Control table only lists the permissions as they are set for the group. :?: :?:

Help is appreciated.

Comments

  • DaveTDaveT Member Posts: 1,039
    Hi

    Look in the system table 2000000052 Windows Group Member
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • kapamaroukapamarou Member Posts: 1,152
    How about table:

    2000000052 Windows Group Member?

    It's a virtual table. You won't get it in the object designer.

    Create a new list form, select that table and check the contents.
Sign In or Register to comment.