This method of the ThreadPermission Class sets the ability to manipulate any ThreadGroup object in the system.
public void setUnrestrictedThreadGroupAccess(boolean flag);
flag | The flag that indicates whether to turn unrestricted ThreadGroup access on or off. If the value is true, the ability to manipulate all ThreadGroup objects is turned on; otherwise, it is turned off. |