getseuser(category22-scripting.html) - phpMan

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