DeviceLockdownProfile
DeviceLockdownProfile
DeviceLockdownProfile
DeviceLockdownProfile
Class
Definition
Provides the methods for getting and applying restrictions to applications and tiles on the device based on user role IDs.
public : static class DeviceLockdownProfilepublic static class DeviceLockdownProfilePublic Static Class DeviceLockdownProfile// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Embedded.DeviceLockdown.DeviceLockdownContract (introduced v1)
|
| 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) ApplyLockdownProfileAsync(Guid) ApplyLockdownProfileAsync(Guid) ApplyLockdownProfileAsync(Guid)
Activates the restrictions associated with the specified user role ID.
public : static IAsyncAction ApplyLockdownProfileAsync(PlatForm::Guid profileID)public static IAsyncAction ApplyLockdownProfileAsync(Guid profileID)Public Static Function ApplyLockdownProfileAsync(profileID As Guid) As IAsyncAction// You can use this method in JavaScript.
Parameters
- profileID
- PlatForm::Guid Guid Guid Guid
User role ID.
Returns
No object or value is returned when this method completes.
Additional features and requirements
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Embedded.DeviceLockdown.DeviceLockdownContract (introduced v1)
|
| Capabilities |
enterpriseDeviceLockdown
|
GetCurrentLockdownProfile() GetCurrentLockdownProfile() GetCurrentLockdownProfile() GetCurrentLockdownProfile()
Gets the user role ID that is currently in use by the handheld device.
public : static PlatForm::Guid GetCurrentLockdownProfile()public static Guid GetCurrentLockdownProfile()Public Static Function GetCurrentLockdownProfile() As Guid// You can use this method in JavaScript.
Returns
PlatForm::Guid
Guid
Guid
Guid
Role ID that is currently in use by the handheld device.
Additional features and requirements
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Embedded.DeviceLockdown.DeviceLockdownContract (introduced v1)
|
| Capabilities |
enterpriseDeviceLockdown
|
GetLockdownProfileInformation(Guid) GetLockdownProfileInformation(Guid) GetLockdownProfileInformation(Guid) GetLockdownProfileInformation(Guid)
Gets the information object about a specific user role.
public : static DeviceLockdownProfileInformation GetLockdownProfileInformation(PlatForm::Guid profileID)public static DeviceLockdownProfileInformation GetLockdownProfileInformation(Guid profileID)Public Static Function GetLockdownProfileInformation(profileID As Guid) As DeviceLockdownProfileInformation// You can use this method in JavaScript.
Parameters
- profileID
- PlatForm::Guid Guid Guid Guid
User role profile ID.
Returns
DeviceLockdownProfileInformation
DeviceLockdownProfileInformation
DeviceLockdownProfileInformation
DeviceLockdownProfileInformation
Information object about a specific user role.
Additional features and requirements
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Embedded.DeviceLockdown.DeviceLockdownContract (introduced v1)
|
| Capabilities |
enterpriseDeviceLockdown
|
GetSupportedLockdownProfiles() GetSupportedLockdownProfiles() GetSupportedLockdownProfiles() GetSupportedLockdownProfiles()
Gets the list of supported user role IDs.
public : static IVectorView<PlatForm::Guid> GetSupportedLockdownProfiles()public static IReadOnlyList<Guid> GetSupportedLockdownProfiles()Public Static Function GetSupportedLockdownProfiles() As IReadOnlyList( Of Guid )// You can use this method in JavaScript.
Returns
IVectorView<PlatForm::Guid>
IReadOnlyList<Guid>
IReadOnlyList<Guid>
IReadOnlyList<Guid>
List of supported profile IDs.
Additional features and requirements
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Embedded.DeviceLockdown.DeviceLockdownContract (introduced v1)
|
| Capabilities |
enterpriseDeviceLockdown
|