DeviceLockdownProfile.ApplyLockdownProfileAsync(Guid) Method

Definition

Activates the restrictions associated with the specified user role ID.

public:
 static IAsyncAction ^ ApplyLockdownProfileAsync(Platform::Guid profileID);
 static IAsyncAction ApplyLockdownProfileAsync(winrt::guid const& profileID);
public static IAsyncAction ApplyLockdownProfileAsync(Guid profileID);
function applyLockdownProfileAsync(profileID)
Public Shared Function ApplyLockdownProfileAsync (profileID As Guid) As IAsyncAction

Parameters

profileID
Guid

Platform::Guid

winrt::guid

User role ID.

Returns

No object or value is returned when this method completes.

Windows requirements

App capabilities
enterpriseDeviceLockdown

Applies to