Usergroups

class Usergroup(parent=None)

Bases: Item

This class describes an user group object child of Item class.

add_user(user_key='')

Add an user in the user group

Parameters:

user_key (string) – The user key

Returns:

Membership edge object

Return type:

dictionary

get_users()

Get the users of the user group

Returns:

List of User object

Return type:

List of User

remove_user(user_key='')

Remove an user from the user group

Parameters:

user_key (string) – The user key

Returns:

Deleted membership edge object

Return type:

dictionary