The Permission classes information can be used in a graphical user interface (GUI) through the VIFSFile and VIFSDirectory classes. Permission has been added as an action in each of these classes.
The following example shows how to use Permission with the VIFSDirectory class:
// Create AS400 object AS400 as400 = new AS400(); // Create an IFSDirectory using the system name // and the full path of a QSYS object VIFSDirectory directory = new VIFSDirectory(as400, "/QSYS.LID/testlib1.lib"); // Create as explorer Pane AS400ExplorerPane pane = new AS400ExplorerPane((VNode)directory); // Load the information pane.load();