Activate or deactivate key with code

I want to enabled a key with CA\L. In the help file a function is descibed “Enabled” but no example is showing. Someone have an example for this? Thanks

Keys can only be enabled or disabled manually. There is no C/AL function to do this programmatically. Dave Studebaker Liberty Grove Software A Navision Services Partner