Share via


DeviceLockdownProfile.GetCurrentLockdownProfile method

7/17/2014

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

Syntax

public static Guid GetCurrentLockdownProfile()
Public Shared Function GetCurrentLockdownProfile() As Guid
public:
static Guid GetCurrentLockdownProfile()

Parameters

This method has no parameters.

Return value

  • **
    Type: System.Guid [.NET] | Platform::Guid [C++]

    Role ID that is currently in use by the handheld device.

Requirements

Important

This API requires the ID_CAP_ENTERPRISE_SHARED_DATA capability, which allows you to use a standard enterprise certificate. This capability is not available to standard 3rd party developers where the certificate is provided through Visual Studio.
At this time, the Visual Studio 2013 designer does not provide a checkbox for including ID_CAP_ENTERPRISE_SHARED_DATA in the app package manifest. You must manually include ID_CAP_ENTERPRISE_SHARED_DATA in your manifest file. For instructions about how to manually update your manifest file, see Add capabilities.

Minimum supported client

Windows Embedded 8.1 Handheld

Namespace

Windows.Embedded.DeviceLockdown

Windows::Embedded::DeviceLockdown [C++]

Metadata

Windows.Embedded.winmd

See Also

Reference

DeviceLockdownProfile class