// Encryption
report.Preferences.PDF.Encryptor.Password.User = "test";
report.Preferences.PDF.Encryptor.Password.Owner = "siberix";
report.Preferences.PDF.Encryptor.Permissions.Add = false;
report.Preferences.PDF.Encryptor.Permissions.Copy = false;
report.Preferences.PDF.Encryptor.Permissions.Modify = false;
report.Preferences.PDF.Encryptor.Permissions.Print = true;
<?xml version="1.0"?>
<Report>
<Preferences>
<PDF ColorSpace="RGB">
<Encryptor>
<Password Owner="siberix" User="test" />
<Permissions Add="False" Copy="False" Modify="False" Print="True" />
</Encryptor>
</PDF>
</Preferences>
<Sections>
...
</Sections>
</Report>