IamUtil.UpdateUserNotificationCategoriesAsync()

DESCRIPTION

Update a user’s Notification categories .

DECLARATION

System.Threading.Tasks.Task UpdateUserNotificationCategoriesAsync(Nabto.Edge.Client.IConnection, System.String, System.Collections.Generic.List`1[System.String])

PARAMETERS

  • connection: An established connection to the device
  • username: The username for the user to be updated
  • categories: Categories for this user to get notifications for

ERRORS

  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if the user does not exist on the device.
  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if the user is not allowed to perform this operation.