ProtectionPolicyManager.PrimaryManagedIdentity ProtectionPolicyManager.PrimaryManagedIdentity ProtectionPolicyManager.PrimaryManagedIdentity ProtectionPolicyManager.PrimaryManagedIdentity ProtectionPolicyManager.PrimaryManagedIdentity Property

Definition

Gets the primary enterprise identity.

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

Property Value

string string string

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 .

Additional features and requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.15063.0) Windows Mobile Extension SDK (introduced v10.0.15063.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced v4)