Skip to main content
Version: Next

Devices Plugin Functions

Device functions helps you to manage current user's devices. These functions work with the Users table, so make sure to enable this table first.

Get Users Devices

This function will return active devices of current user.

var devices = await ServiceHub.Services.Devices.FindMyDevices(new FindMyDeviceParams());

Revoke Device Access

This function disable access of specific device and make it login again.

await ServiceHub.Services.Devices.RevokeDevice(new RevokeDeviceParams
{
DeviceId = 0
});