web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to show the database log of SecurityUserRole table including the deleted role of the particular user

(0) ShareShare
ReportReport
Posted on by 143

Hi Everyone

I have a Business requirement where I have to show the changes made on user role with respect to the user including the deleted role on the form where we see the database log for user's. I'm able to show the Inserted type log in SecurityUserRole table by filter the tableid on the execute query event but not able to show deleted role because deleted role's logrecid is present in sysDataBaseLog but not in SecurityUserRole .

Pl give me idea's how to show the removed role on the same form respect to user, besides that database log description filed is empty for SecurityUserRole table.

Please help

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Vishu,

    As far as I know the Fastpath ISV solution has that functionality built in.

    https://www.gofastpath.com/

    Not sure if this is an option for you because it requires some investment.

    Irrespective of that, might be worthwhile having a look at their website and the solution offered.

    Best regards,

    Ludwig

  • Verified answer
    Vishu Beniwal Profile Picture
    143 on at

    Hi Ludwing thanks for the reply.

    Basically I just have to customize the functionality of sysDataBaseLog  for securityUserRoleTable.

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Vishu,

    What exact application are you working on? You posted the question in the Dynamics AX forum, but also used the tag D365.

    For global tables, you have to switch to the 'dat' company to see the database log details. However, some system tables are not working correctly with the database log.

    It would require a customization or ISV solution. Next to Fastpath, also To-Increase has a solution for security and compliance which includes extensive logging of security changes. www.to-increase.com/.../organization-structure

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans