This method of the PolicyEngine Class creates a PermissionID object from a permission name.
public static synchronized PermissionID permissionNameToID(String pname);
Returns the PermissionID that maps to the specified permission name.
pname | The name of the permission. |
Permission names must be the name of the class that implements the permission. The permission class must be a fully trusted system class. Only fully trusted code can create new permission identifiers.