Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Security Report

Posted on by Microsoft Employee

Hi all,

Greetings!

We have received a new requirement to develop a Security Report and the fields are mention below:-

User ID Alias User Name Account Type Account Status Entity Roles Date Role Assigned Role Created Date Role Modified Date Role Enabled Table Table Access level Form Control Effective Access Server method Policy Enabled Policy Name Policy Created Date Policy Modified Date Query Name Query Created Date Query Modified Date Duties Duty Created Date Duty Modified Date Duty Enabled Privileges Privilege Created Date Privilege Modified Date Priviledge Enabled Table Access level Form Control Effective Access Server method Entry Point Access Level

I have found till the Role Table Name from where i can fetch the data. Requesting all of you if you can provide the data source and relation information throughout the AOT(System Documentation Tables).

UserInfo(UserInfo).networkAlia UserInfo(UserInfo).accountType UserInfo(UserInfo).enable OMUserRoleOrganization   (SecurityRole).dEL_CreatedTime
Need to check
(SecurityRole).dEL_modifieddatetime
Need to check
Roles->Properties Enabled(Need to check) Roles->Permissions->Tables Roles->Permissions->Tables->Properties->EffectiveAccess Roles->Permissions->Form Roles->Permissions->Forms->Properties->Control Roles->Permissions->Forms->Properties->EffectiveAccess Roles->Permissions->Server method-> Policies->Policy->Properties->Enables  Policies->Policy Name Policies->Policy->Properties->CreatedDateTime Policies->Policy->Properties->ModifiedDateTime Policies->Policy->Properties->Query AOT->Query->Properties->CreatedDateTime AOT->Query->Properties->ChangedDate (SecurityRoleTaskGrant.SecurityRole==securityuserrole.securityrole )SecurityRoleTaskGrant.SecurityTask == SecurityTask.RecId && SecurityTask.Type == Duty (SecurityTask.Name) AOT->Security-> Duties-> Properties->Created date AOT->Security-> Duties-> Properties->Changed date AOT->Security->Roles-> Duties-> Enabled AOT->Security->Roles-> Privilege-> Priviledge name …........................AOT->Security->Roles-> Duty-> Priviledge name  AOT->Security-> Privilege-> Properties->Created date AOT->Security-> Privilege-> Properties->Changed date AOT->Security-> Privilege-> Properties->Enabled Privilege->Permissions->Tables Privilege->Permissions->Tables->Properties->EffectiveAccess Privilege->Permissions->Form Privilege->Permissions->Forms->Properties->Control Privilege->Permissions->Forms->Properties->EffectiveAccess Privilege->Permissions->Server method-> AOT->Security->Roles-> Privilege-> Priviledge name-> Entry point AOT->Security->Roles-> Privilege-> Priviledge name-> Entry point-> Property-> access level
User ID Alias User Name Account Type Account Status Entity Roles Date Role Assigned Role Created Date Role Modified Date Role Enabled Table Table Access level Form Control Effective Access Server method Policy Enabled Policy Name Policy Created Date Policy Modified Date Query Name Query Created Date Query Modified Date Duties Duty Created Date Duty Modified Date Duty Enabled Privileges Privilege Created Date Privilege Modified Date Priviledge Enabled Table Access level Form Control Effective Access Server method Entry Point Access Level

*This post is locked for comments

  • Suggested answer
    guk1964 Profile Picture
    guk1964 10,877 on at
    RE: Security Report

    There was a comprehensive set of information on this thread https://community.dynamics.com/ax/f/33/t/224296

    Have you tried the security tool that was provided in beta for Ax 2012 - see Andre's blog posts on it.

    Each form has  a Security analysis button and it will provide information about linked roles, duties and privileges.

    See this  script: https://community.dynamics.com/ax/b/ftdynamicsax/archive/2014/11/26/ax2012-r2-get-a-list-of-duties-and-privileges-based-on-security-role

    You might find these help pages useful:

    https://docs.microsoft.com/en-us/dynamicsax-2012/developer/how-to-find-objects-and-roles-related-to-security-constructs

    https://docs.microsoft.com/en-us/dynamicsax-2012/developer/code-example-securityutil-class-for-accessing-role-and-object-permissions

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Security Report

    Hi Fatih,

    I have already gone through this blog and have changed as described. I need the details like which roles has which permission table and what is the effective   Access on it. Same goes to policy and duty.

  • fatihgork Profile Picture
    fatihgork 3,815 on at
    RE: Security Report

    Hi Kavaljeet,

    Is this for role changes only?

    If so, there is a very helpful report in Estonian localization.  You can find more information in this thread: community.dynamics.com/.../204180

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans