IamUtil.GetRolesAsync()
DESCRIPTION
Get available roles on device.
DECLARATION
System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[System.String]] GetRolesAsync(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
A list of roles available on the device.