From Aspen Documentation
Returns a list of groups.
Since 1.0
Arguments
array groupList ()
Returns
Returns an array of user groups.
Examples
The group list function:
$this->APP->user->groupList();
Will return an array similar to the following:
Array
(
[1] => Array
(
[id] => 1
[name] => Administrator
)
[2] => Array
(
[id] => 2
[name] => User
)
)