Package qm :: Module user :: Class Group
[show private | hide private]
[frames | no frames]

Class Group


A group of users.

A 'Group' object is treated as an ordinary list of user IDs (except that a user ID may not appear more than once in the list).
Method Summary
  __init__(self, group_id, user_ids)
Create a new group.
  __delitem__(self, index)
  __getitem__(self, index)
  __len__(self)
  __setitem__(self, index, user_id)
  append(self, user_id)
  GetId(self)
Return the group_id of this group.
  remove(self, user_id)

Method Details

__init__(self, group_id, user_ids=[])
(Constructor)

Create a new group.

'group_id' -- The ID of this group.

'user_ids' -- IDs of users initially in the group.

GetId(self)

Return the group_id of this group.

Generated by Epydoc 2.1 on Thu Sep 27 15:49:00 2007 http://epydoc.sf.net