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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Dynamics Security Mana...
Finance forum

Dynamics Security Management API

(0) ShareShare
ReportReport
Posted on by 336

Hello guys, 

I'm looking for any documentation or any links on how to use these API on D365FO, 

How to manipulate , or add security objects by using this API

Using Microsoft.Dynamics.AX.Security.Management;

Using Microsoft.Dynamics.AX.Security.Management.SecurityRepository;

Using Microsoft.Dynamics.AX.Security.Management.Interfaces.ISecurityRepositoryTransaction;

I can't find any information on the net

Any suggestions i will be gratefull, Thanks

I have the same question (0)
  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi Adax,

    Here's an example, please check.

    [View:http://www.chromableedstudios.com/techninjutsu/findsecuritydutiesrelatedtomenuitemindynamicsax7365foroperations:750:50]

  • AdnDalhi Profile Picture
    336 on at

    Already ckecked , thanks Blue Wang,

    It's stay very limited as documentation,

    I need to manipulate other methods, and i cant have global vision of all the API methods and classes,

    I need to add Security roles data by using SecurityRepository + ISecurityRepositoryTransaction interface

  • André Arnaud de Calavon Profile Picture
    306,859 Super User 2026 Season 2 on at

    Hi Adax,

    Can you explain your requirement? Why can't you use Visual Studio or the Security Configuration form to add security roles?

  • AdnDalhi Profile Picture
    336 on at

    I can not use this interface

    Microsoft.Dynamics.AX.Security.Management.Interfaces.ISecurityObjectRepository;

    I receieve the error bellow

    Error-interface.pngError-interface2.png

  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi Adax,

    Obviously, the method you use does not exist.

    89.PNG

    Microsoft.Dynamics.AX.Security.Management.Interfaces.ISecurityObjectRepository<String10>  isecRepSec;

    90.PNG

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans