class documentation

class Organization: (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method add_member Add the user to the organization.
Method info Returns general information about the organization the current user is a member of.
Method remove_member Remove the user from the organization.
Instance Variable parent Undocumented
def __init__(self, parent): (source)

Undocumented

def add_member(self, user, notify=True): (source)

Add the user to the organization. :param user: username or email address :type user: str :param notify: whether or not to send the user an email notification :type notify: bool :returns: True if it succeeded and raises an Exception otherwise

def info(self): (source)

Returns general information about the organization the current user is a member of.

def remove_member(self, user): (source)

Remove the user from the organization. :param user: username or email address :type user: str :returns: True if it succeeded and raises an Exception otherwise

Undocumented