Share via


DeviceLockdownProfile Class

Definition

Provides the methods for getting and applying restrictions to applications and tiles on the device based on user role IDs.

public ref class DeviceLockdownProfile abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Embedded.DeviceLockdown.DeviceLockdownContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DeviceLockdownProfile final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Embedded.DeviceLockdown.DeviceLockdownContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class DeviceLockdownProfile
Public Class DeviceLockdownProfile
Inheritance
Object Platform::Object IInspectable DeviceLockdownProfile
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Embedded.DeviceLockdown.DeviceLockdownContract (introduced in v1.0)
App capabilities
enterpriseDeviceLockdown

Remarks

To use this API, certain capabilities and roles need to be configured. For information, see the remarks in Windows.Embedded.DeviceLockdown.

Methods

ApplyLockdownProfileAsync(Guid)

Activates the restrictions associated with the specified user role ID.

GetCurrentLockdownProfile()

Gets the user role ID that is currently in use by the handheld device.

GetLockdownProfileInformation(Guid)

Gets the information object about a specific user role.

GetSupportedLockdownProfiles()

Gets the list of supported user role IDs.

Applies to