ProtectionPolicyManager.GetPrimaryManagedIdentityForNetworkEndpointAsync(HostName) ProtectionPolicyManager.GetPrimaryManagedIdentityForNetworkEndpointAsync(HostName) ProtectionPolicyManager.GetPrimaryManagedIdentityForNetworkEndpointAsync(HostName) ProtectionPolicyManager.GetPrimaryManagedIdentityForNetworkEndpointAsync(HostName) ProtectionPolicyManager.GetPrimaryManagedIdentityForNetworkEndpointAsync(HostName) Method

Definition

Note

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

Returns the enterprise identity of a network resource if the resource is on an enterprise-policy-managed endpoint.

public : static IAsyncOperation<Platform::String> GetPrimaryManagedIdentityForNetworkEndpointAsync(HostName endpointHost)
static IAsyncOperation<winrt::hstring> GetPrimaryManagedIdentityForNetworkEndpointAsync(HostName endpointHost) const;
public static IAsyncOperation<string> GetPrimaryManagedIdentityForNetworkEndpointAsync(HostName endpointHost)
Public Shared Function GetPrimaryManagedIdentityForNetworkEndpointAsync(endpointHost As HostName) As IAsyncOperation(Of string)
Windows.Security.EnterpriseData.ProtectionPolicyManager.getPrimaryManagedIdentityForNetworkEndpointAsync(endpointHost).done( /* Your success and error handlers */ );

Parameters

endpointHost
HostName HostName HostName

The host name or IP address of the network resource.

Returns

Additional features and requirements

Capabilities
enterpriseDataPolicy