ProtectionPolicyManager.Identity Property

Definition

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Gets or sets the enterprise identity.

public:
 property Platform::String ^ Identity { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Identity();

void Identity(winrt::hstring value);
public string Identity { get; set; }
var string = protectionPolicyManager.identity;
protectionPolicyManager.identity = string;
Public Property Identity As String

Property Value

String

The enterprise identity. This is an email address or domain that is managed. Your app should use IsIdentityManaged to confirm that an email address or domain is managed.

Windows requirements

App capabilities
enterpriseDataPolicy

Applies to