Retrieve the roles that a user can be assigned on this device.
This function is meant to be used in a Kotlin coroutine to suspend execution until the operation has completed.
suspend fun IamUtil.awaitGetAvailableRoles( connection: Connection, ): Array<String>
- An established connection to the device
- if the device configuration does not allow retrieving this list (requires the
- if Nabto Edge IAM is not supported by the device