Hi All, I have the following code of X++.
FileIOPermission permission;
permission = new FileIOPermission('','r');
permission.demand();
The code fails at last line. I have to use this code and i can't make
changes to this code.
Can u please tell me how should I call this code so that it won't fail
(if by using any pre-requisties) ??
Thank you all in advance.

