Is there function to check the rights of user
I am looking for a funktion like
int has_this_user_the_right($username, $rightname);
I wrote this funktion by my own but I am shure that this funktion already exist but where?
The idear is to get check the a special right for a user which is not the current user.
Thanks
Markus