Hello fellow D365 F&O professionals!
I am looking for some hints to perform a security configuration by using x++ but without using Security Configuration tool in the UI. Also, I’m NOT looking to create any new security objects in the AOT, so I would aim to strictly do configuring.
I would like to find a way to assign existing duties and privileges into a new role in the same way I would do by using a security configuration tool, but via x++.
I tried briefly to reverse engineer the code behind the Security Configuration form but found no apparent API for doing this. Maybe I would need to dig deeper, but meanwhile I would appreciate if you share your experiences on this matter.
Thanks!