MambuPy.rest1to2.mambuuser

Classes

MambuUser(*args, **kwargs)

MambuUsers(*args, **kwargs)

class MambuPy.rest1to2.mambuuser.MambuUser(*args, **kwargs)[source]

Bases: MambuStruct, MambuUser

__init__(*args, **kwargs)[source]

Tasks done here:

Just initializes the MambuStruct.

__module__ = 'MambuPy.rest1to2.mambuuser'
preprocess()[source]
setGroups(*args, **kwargs)[source]

Adds the groups assigned to this user to a ‘groups’ field.

Returns the number of requests done to Mambu.

setRoles(*args, **kwargs)[source]

Adds the role assigned to this user to a ‘role’ field.

Depends on the ‘role’ field that comes with a fullDetails=True build of the MambuUser.

Returns the number of requests done to Mambu.

class MambuPy.rest1to2.mambuuser.MambuUsers(*args, **kwargs)[source]

Bases: MambuStruct, MambuUsers

__init__(*args, **kwargs)[source]

By default, entid argument is empty. That makes perfect sense: you want several branches, not just one

__iter__()[source]
__module__ = 'MambuPy.rest1to2.mambuuser'
__repr__()[source]

Mambu object repr tells the class name and the usual ‘id’ for it.

If an iterable, it instead gives its length.