This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz groupAllowPerm: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Yassen (talk | contribs)
Added bz_groupAllowPerm
 
Yassen (talk | contribs)
Doesn't return a bz_APIStringList, but rather a bool. (typo)
 
Line 8: Line 8:
| param2type  = const char*
| param2type  = const char*
| param2desc  = Permission to grant.
| param2desc  = Permission to grant.
| returntype  = bz_APIStringList*
| returntype  = bool
| returns    = Whether the group provided exists.
| returns    = Whether the group provided exists.
| version    = 2.0.x or later
| version    = 2.0.x or later
}}
}}

Latest revision as of 00:56, 12 February 2009

bool bz_groupAllowPerm (const char* group, const char* perm)


Minimum API Version: 2.0.x or later
Grants the group a certain permission.

Parameters:
group  -  Group to look up.
perm  -  Permission to grant.
Returns:
Whether the group provided exists.