License keys list

Hi all,
is there a way to list all the license keys enabled in a D365FO environment ?

Wouldn’t something like this work for you?

SetEnumerator enumerator = new SysDictionary().licenseCodes().getEnumerator();
while (enumerator.moveNext())
	SysDictLicenseCode code = enumerator.current();
	if (code.isEntered())

Note that I didn’t test it.

1 Like

thank you very much, i’ll check it.

hey @RiccardoEsposito - if this works, make sure to come back and mark martin’s suggestion as an answer.

@jacob.roder yes for sure.

1 Like