![]() |
#1 |
Участник
|
waldo: Check Customer License in an OnPrem db – from the web client
Источник: https://dynamicsuser.net/nav/b/waldo...the-web-client
============== This is my first post of 2021, so I’d like to take the opportunity to wish all of you all the best, all the health, all the safety, and .. may we finally meet again in person in 2021! I’d be very happy to have much less of this: ![]() ![]() I got an internal question from our consultants on how they are able to access the license information of the customer for an OnPrem customer. There are a few scenarios where that’s interesting. Just to check which license is in production. Or how many objects or users did they buy. Well – anything license wise ;-). And you know – a consultant usually doesn’t have access to SQL Server, PowerShell or anything like that. So it had to be accessible from the web client. I was like: that’s easy! There are virtual tables that contain that information: – “License Information” contains the actual text of the license file. – “License Permission” contains the information on object level. And since we can run tables, it’s just a matter of finding the right Table Number, and off we go. You might remember my blogpost: Getting not-out-of-the-box information with the out-of-the-box web client ? It explains that I can get to all objects through table 2000000038, and there, I can find the corresponding table numbers: – “License Information”: 2000000040 – “License Permission”: 2000000043 So what the heck – just run it with that ID, and that’s it, we’re done! Consultants have a solution! Well … no … ![]() So here’s a little trick You can show those tables by creating your own page based on the table. And with the wizards of Andrzej’s extension, it’s super easy to do! Just: ![]() ![]() ![]() When you run this page now, you’ll see the license information from the Web Client ![]() If you want to know how to do it with PowerShell – well – there is an out-of-the-box CmdLet: Export-NAVServerlicenseInformation ![]() Источник: https://dynamicsuser.net/nav/b/waldo...the-web-client
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|