Table of Contents

Class: Group qm/user.py

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).

Methods   
GetId
__delitem__
__getitem__
__init__
__len__
__setitem__
append
remove
  GetId 
GetId ( self )

Return the group_id of this group.

  __delitem__ 
__delitem__ ( self,  index )

  __getitem__ 
__getitem__ ( self,  index )

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

Create a new group.

group_id
The ID of this group.
user_ids
IDs of users initially in the group.
  __len__ 
__len__ ( self )

  __setitem__ 
__setitem__ (
        self,
        index,
        user_id,
        )

  append 
append ( self,  user_id )

  remove 
remove ( self,  user_id )


Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1