---
title: SetRecoveryLockCommand.Command
framework: devicemanagement
role: symbol
role_heading: Device Management Command
path: devicemanagement/setrecoverylockcommand/command-data.dictionary
---

# SetRecoveryLockCommand.Command

The command to set or clear the Recovery Lock password.

## Declaration

```data
object SetRecoveryLockCommand.Command
```

## Properties

CurrentPassword: If the device has a Recovery Lock password set, the system requires the current password. NewPassword: The new password for Recovery Lock. Set as an empty string to clear the Recovery Lock password. RequestRequiresNetworkTether: If true, the device needs to be network-tethered to run the command. RequestType: The request type for this command.
