getseuser(pdf.php) - phpMan

getseuserbyname (3)  - get SELinux username and level for a given Linux username