Index

(user)

o2user_is

boolean o2user_is(string $role_name)

Returns TRUE if logged user is in the requested role


Parameters:
  1. $role_name
Related functions:

o2user_roles

o2user_has