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();