We have mail integration with Outlook Express in Navision. As we are in a Citrix environment we have set up the mail to use mandatory mail profile, this way all mails will have the same sender, for example info@customer.com. Our problem when trying to protect the send mail function is the file - send possibility to create a mail. All other mail calls in Navision and Matriks seems to go through codeunit ‘mail’, but not this one. Not giving a user permissions to run codeunit ‘mail’ will not stop him from using file-send. Can this be achieved in some way? Any suggestions very appreciated. Fredrik
Hi Fredrik, Yes it can be done (I’ve seen it!)using an OCX which does some Win API tricks by getting the handle of the Navision Windows and doing some funny stuffs on it. Landsteinar has done it, they have developed an OCX which would allow anyone which has the C/OCX granule in their license to hide/disable any items from the Navision tool bar. http://www.navision.net/forum/topic.asp?TOPIC_ID=3068&FORUM_ID=10&CAT_ID=3&Topic_Title=Navision+%26+the+Windows+API&Forum_Title=Attain%2FFinancials+-+Integration+Forum ###### tarek_demiati@ureach.com
Thanks Tarek! Unfortunately it is not an option to extend the license for this purpose.
The user does NOT need the C/OCX granule for executing OCX’es. This granule is only needed for development og objects witch use OCX’es. Lars Strøm Valsted ------------------------- Why can’t programmers tell the difference between Christmas and Halloween? Because OCT(31) = DEC(25)