ProtectionPolicyManager.PrimaryManagedIdentity Property


Gets the primary enterprise identity.

 static property Platform::String ^ PrimaryManagedIdentity { Platform::String ^ get(); };
static winrt::hstring PrimaryManagedIdentity();
public static string PrimaryManagedIdentity { get; }
var string = ProtectionPolicyManager.primaryManagedIdentity;
Public Shared ReadOnly Property PrimaryManagedIdentity As String

Property Value


The primary enterprise identity. This is an email address or domain that is managed. This property returns null if there is no managed identity associated with the ProtectionPolicyManager .

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
Windows Mobile Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced in v4.0)

Applies to