MEMBER_GROUP(1) MEMBER_GROUP(1)
NNAAMMEE
_m_e_m_b_e_r___g_r_o_u_p_(_) - returns true if a person is a member of
the group passed
SSYYNNOOPPSSIISS
int member_group(string|object who, string grp)
DDEESSCCRRIIPPTTIIOONN
The first argument, either a user object or the name of a
user, is tested to see if the user is a member of the
group which goes by the name passed as the second
argument. If the user is a member of that group, then the
function returns true. Otherwise the function will return
false.
EEXXAAMMPPLLEESS
+o member_group("descartes", "SUPERUSER") would return
true on Nightmare LPMud
LLOOCCAATTIIOONN
/secure/SimulEfun/security.c
SSEEEE AALLSSOO
_f_i_l_e___p_r_i_v_s_(_)
AAuutthhoorr
Descartes of Borg
1