• Update the roles of a particular user within the database. CAN ONLY PERFORM ADD/REMOVE operations

    Parameters

    • userId: string

      ID of the user to update

    • role: Role

      Role to add/remove

    • operation: RoleOperation

      Operation to perform

    Returns Promise<Role[]>

    Promise - if valid, then update operation worked. If invalid, then contains why.

Generated using TypeDoc