IamUtil.GetIamSettingsAsync()

DESCRIPTION

Get the system IAM configuration from device. Note that this may differ from the IAM state for the current user, retrieved as part of .

DECLARATION

System.Threading.Tasks.Task`1[Nabto.Edge.ClientIam.IamSettings] GetIamSettingsAsync(Nabto.Edge.Client.IConnection)

PARAMETERS

  • connection: An established connection to the device

ERRORS

  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if the user is not allowed to perform this operation.
  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if Nabto Edge IAM is not supported by the device.

RETURNS

An IamSettings object.