delete_fingers

Function delete_fingers 

Source
pub async fn delete_fingers(
    connection: &Connection,
    path: OwnedObjectPath,
    username: String,
) -> Result<()>
Expand description

Deletes all print records for chosen user

§Returns

Ok()

§Errors

net.reactivated.Fprint.Error.PermissionDenied: if the caller lacks the appropriate PolicyKit authorization net.reactivated.Fprint.Error.PrintsNotDeleted: if the fingerprint is not deleted from fprintd storage net.reactivated.Fprint.Error.AlreadyInUse: if the device is already claimed net.reactivated.Fprint.Error.Internal: if the device couldn’t be claimed