The PermissionSet Class contains the following constructor:
Creates a PermissionSet object from a PermissionDataSet object. The contents of the PermissionDataSet object are copied to the PermissionSet so that any future changes to the PermissionDataSet will not affect the PermissionSet.
public PermissionSet(PermissionDataSet pds);
pds | The PermissionDataSet to copy. |