LuaPermissionGroups

All permission groups.

class LuaPermissionGroups - sort
create_group(name) → LuaPermissionGroup Creates a new permission group.
get_group(group) → LuaPermissionGroup Gets the permission group with the given name or group ID or nil if there is no matching group.
groups :: array[LuaPermissionGroup] [R] All of the permission groups.
valid :: boolean [R] Is this object valid?
object_name :: string [R] The class name of this object.
help() → string All methods and properties that this object supports.
create_group(name) → LuaPermissionGroup

Creates a new permission group.

Parameters
name :: string (optional)
Note: May return nil if the calling player doesn't have permission to make groups.
get_group(group) → LuaPermissionGroup

Gets the permission group with the given name or group ID or nil if there is no matching group.

Parameters
group :: string or uint
groups :: array[LuaPermissionGroup] [Read-only]

All of the permission groups.