DeviceLockdownProfile Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |