editUser method

Future<void> editUser({
  1. required int userId,
  2. String? friendlyName,
  3. String? customThumb,
  4. bool? keepHistory,
  5. bool? allowGuest,
})

Handler for edit_user.

Update a user on Tautulli.

Required Parameters:

  • userId: The ID of the Plex user

Optional Parameters:

  • friendlyName: A friendly name to set for the user
  • customThumb: A URL to set the custom thumbnail to
  • keepHistory: Set if you should keep the history for the user
  • allowGuest: Set if you want to allow Tautulli guest access for the user

Implementation

Future<void> editUser({
    required int userId,
    String? friendlyName,
    String? customThumb,
    bool? keepHistory,
    bool? allowGuest,
}) async => _commandEditUser(_client, userId: userId, friendlyName: friendlyName, customThumb: customThumb, keepHistory: keepHistory, allowGuest: allowGuest);