NAME

Labyrinth::Groups - User Group Manager for Labyrinth

DESCRIPTION

This package provides group management for user access. Groups can be used to set permissions for a set of users, without setting individual user permissions.

FUNCTIONS

GetGroupID

Returns the ID of the specific group.

UserInGroup

Checks whether the specified user (or current user) is in the specified group Returns 1 if true, otherwise 0 for false.

GroupSelect([$opt])

Provides the XHTML code for a single select dropdown box. Pass the id of a group to pre-select that group.

GroupSelectMulti([$opt[,$rows]])

Provides the XHTML code for a multiple select dropdown box. Pass the group id or an arrayref to a list of group ids to pre-select those groups. By default the number of rows displayed is 5, although this can be changed by passing the number of rows you require.

SEE ALSO

Labyrinth

AUTHOR

Barbie, <barbie@missbarbell.co.uk> for Miss Barbell Productions, http://www.missbarbell.co.uk/

COPYRIGHT & LICENSE

Copyright (C) 2002-2014 Barbie for Miss Barbell Productions
All Rights Reserved.

This module is free software; you can redistribute it and/or
modify it under the Artistic License 2.0.