IamUtil.GetCurrentUserAsync()
DESCRIPTION
Get details about the user that has opened the current connection to the device.
DECLARATION
System.Threading.Tasks.Task`1[Nabto.Edge.ClientIam.IamUser] GetCurrentUserAsync(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.
RETURNS
An IamUser instance describing the current user.