UserDataAccount.IsProtectedUnderLock UserDataAccount.IsProtectedUnderLock UserDataAccount.IsProtectedUnderLock UserDataAccount.IsProtectedUnderLock UserDataAccount.IsProtectedUnderLock Property

Definition

Gets a Boolean value indicating if the user account data is encrypted when the device becomes locked.

public : Platform::Boolean IsProtectedUnderLock { get; set; }
bool IsProtectedUnderLock();

void IsProtectedUnderLock(bool isprotectedunderlock);
public bool IsProtectedUnderLock { get; set; }
Public ReadWrite Property IsProtectedUnderLock As bool
var bool = userDataAccount.isProtectedUnderLock;
userDataAccount.isProtectedUnderLock = bool;

Property Value

bool bool bool

A Boolean value indicating if the user account data is encrypted when the device becomes locked.

Additional features and requirements

Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)

Remarks

Encrypted data will return as empty value sets during a locked state.