Examples: Command_ShowAndEnable


The following example checks the security access for the integration. If access should be granted, it shows and enables the commands for the integration.

local boolean security_access;
local string user_entry; 

if getstring ("Please enter registration key", false, user_entry) then 
	{Use the appropriate routine to check security access}
	security_access = CheckRegistrationKey(user_entry);

	if security_access = true then
		call Command_ShowAndEnable, command CMD_Inquiry1;
		call Command_ShowAndEnable, command CMD_Maintenance1;
		call Command_ShowAndEnable, command CMD_List1;
	end if;
end if;


Documentation Feedback