But the server must somehow recognize whether a user does or does not have design permissions in their temp license. Is that checked on the SQL server?
We have been detecting changes in our deployed solutions that we have not made and that cannot be done with a client license (our clients are not always aware of said changes either). We are trying to glean more information on how these changes occur.
Answers
Check License in development as well as in RTC. If its changed then there will be difference in both the license.
Regards,
Neeraj Singh
Thank you Neeraj, but perhaps I have been unclear in explaining.
While I can check both manually and the license in the RTC programmatically, I have not found a way to check the license in the Development Environment through code.
I am looking for a way to automatically detect a change or read the license in the Development Environment.
Peter Conijn
-The Learning Network-
The temp license doesn't run code anymore.
I was afraid of that. But the server must somehow recognize whether a user does or does not have design permissions in their temp license. Is that checked on the SQL server?
Peter Conijn
-The Learning Network-
Even if you change the license temporarily in DEV Env it will only allow you to modify objects. If you try to run any of object it will be run by the NST with the license uploaded into the server/database, not with the license loaded temporarily into DEV Env.
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Peter Conijn
-The Learning Network-
I created a logging method using SQL triggers and I'm being stubborn here.
When an object is saved, that is obviously communicated by the Dev client to the SQL server. With the trigger, I can log which object has been changed when and by whom. I can also check whether that object matches the (customer) license in the SQL server.
Does the Dev client at that point (INSERT INTO dbo.Object) provide any way to determine the license it used?
Peter Conijn
-The Learning Network-
Peter Conijn
-The Learning Network-
What difference makes to you if an object has been modified with DEV or client license? The end result is the same - some object has been modified. The logging trigger on Object table will let you know by whom and when (although an object compilation also ends up with UPDATE on Object table, but in this case the object, its defnition precisley speaking, has not been modified).
So again - what difference makes to you if an object has been modified with DEV or client license?
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
No, the server (the SQL Server) does not check or enforce anything. License permissions to create, change or delete objects are only checked inside the DEV Env.
To make things more interesting - DEV Env will let you import a fob with objects outside your currently active license. It will also let you to load the fob if your license does not allow to modify any objects.
Loading the fob results in the same database operations at SQL server level, as saving object changes in DEV Env, or compiling the object.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Peter Conijn
-The Learning Network-
Then you should track this at the SQL level, as the object would be saved and you can determine the logged in user that did that.