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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to obtain the value of the License on the permissions page based on Duties?

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

I want to retrieve the data on the permissions page based on all Duties, and I have already found the data for other fields except for License. These data can be obtained from SECURITYRESOURCEPRIVILEGEPERMISSIONS, SECURITYOBJECTCHILDEREFERENCES, and SYSTEMSECURITYDUTYENTITY. However, I was unable to retrieve the value for the License field.

Please help retrieve the value for this License field. Attached below is a screenshot for reference.

Any advice is appreciated !

Thanks for help

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    Hi, You can export from the records from View Permissions form, system exports License field as well. However, you do to it for each Duty. 
     
    There is no Data entity linked to 'SysSecRelatedObjects' table. Another option is to ask Developer to export data from Sql server if its non prod. If production then copy data to non Prod environment first.
     
  • Community member Profile Picture
    2 on at
    Thanks Mohit. My requirement is to retrieve data from permission pages based on all duties and store it in an intermediate table, which can then be exported using an entity.
     
    I have also tried using SQL to retrieve data from permission pages, but I have been unsuccessful in obtaining the License field no matter what I try. I have come across a blog article that seems to be highly relevant to the License I want to obtain but is not exactly the same. Current State of D365FO User Licensing - Alex Meyer (alexdmeyer.com)
     
    If it is possible to fetch the license using SQL, could you please provide some guidance or suggestions?
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,439 Super User 2026 Season 1 on at
    Hi Jenson,
     
    When you look at the form design and coding how Microsoft retrieves the values themselves, an internal dll is used to get details in a temporary table. You can check how to call this dll yourself and then copy the records to your intermediate table.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 517 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 440

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans