list_enrolled_fingers_dbus

Function list_enrolled_fingers_dbus 

Source
pub async fn list_enrolled_fingers_dbus(
    device: DeviceProxy<'static>,
    username: String,
) -> Result<Vec<String>>
Expand description

fprintd DBus API function for requesting users registered prints

§Return

Array containing all users registered fingerprints as strings

§Errors

net.reactivated.Fprint.Error.PermissionDenied: if the caller lacks the appropriate PolicyKit authorization net.reactivated.Fprint.Error.NoEnrolledPrints: if the chosen user doesn’t have any fingerprints enrolled net.reactivated.Fprint.Error.AlreadyInUse: if the device is already claimed net.reactivated.Fprint.Error.Internal: if the device couldn’t be claimed