Dela via


UserDataAccount.EnterpriseId Property

Definition

Gets the enterprise identity associated with the user account.

public:
 property Platform::String ^ EnterpriseId { Platform::String ^ get(); };
winrt::hstring EnterpriseId();
public string EnterpriseId { get; }
var string = userDataAccount.enterpriseId;
Public ReadOnly Property EnterpriseId As String

Property Value

String

Platform::String

winrt::hstring

The enterprise identity associated with the user account.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Remarks

The EnterpriseId is often a corporate email address and is used when encrypting or decrypting corporate data.

Important

If the EnterpriseId is null or empty then the account is not enterprise protected.

Applies to