def create_user(self, username, password, roles): """ Create a user. @param username: Username @param password: Password @param roles: List of roles for the user. This should be [] for a regular user, or ['ROLE_ADMIN'] for an admin. @return: An ApiUser object """ return users.create_user(self, username, password, roles)