ProtectionPolicyManager.RequestAccessForAppAsync ProtectionPolicyManager.RequestAccessForAppAsync ProtectionPolicyManager.RequestAccessForAppAsync ProtectionPolicyManager.RequestAccessForAppAsync ProtectionPolicyManager.RequestAccessForAppAsync Method

Definition

Overloads

RequestAccessForAppAsync(String, String) RequestAccessForAppAsync(String, String) RequestAccessForAppAsync(String, String) RequestAccessForAppAsync(String, String) RequestAccessForAppAsync(String, String)

Note

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

Request access to enterprise-protected content for a specific target app.

RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo)

Note

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

Request access to enterprise-protected content for a specific target app.

RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String)

Note

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

Request access to enterprise-protected content for a specific target app.

RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior)

Request access to enterprise-protected content for a specific target app.

RequestAccessForAppAsync(String, String) RequestAccessForAppAsync(String, String) RequestAccessForAppAsync(String, String) RequestAccessForAppAsync(String, String) RequestAccessForAppAsync(String, String)

Note

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

Request access to enterprise-protected content for a specific target app.

public : static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(Platform::String sourceIdentity, Platform::String appPackageFamilyName)
static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(winrt::hstring sourceIdentity, winrt::hstring appPackageFamilyName) const;
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(String sourceIdentity, String appPackageFamilyName)
Public Shared Function RequestAccessForAppAsync(sourceIdentity As String, appPackageFamilyName As String) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)
Windows.Security.EnterpriseData.ProtectionPolicyManager.requestAccessForAppAsync(sourceIdentity, appPackageFamilyName).done( /* Your success and error handlers */ );

Parameters

sourceIdentity
String String String

The enterprise identity to which the content is protected. This is an email address or domain that is managed. Your app can use IsIdentityManaged to confirm that an email address or domain is managed.

appPackageFamilyName
String String String

The description of the App package family name.

Returns

Additional features and requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.10586.0) Windows Mobile Extension SDK (introduced v10.0.10586.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced v2)
See also

RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo)

Note

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

Request access to enterprise-protected content for a specific target app.

public : static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(Platform::String sourceIdentity, Platform::String appPackageFamilyName, ProtectionPolicyAuditInfo auditInfo)
static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(winrt::hstring sourceIdentity, winrt::hstring appPackageFamilyName, ProtectionPolicyAuditInfo auditInfo) const;
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(String sourceIdentity, String appPackageFamilyName, ProtectionPolicyAuditInfo auditInfo)
Public Shared Function RequestAccessForAppAsync(sourceIdentity As String, appPackageFamilyName As String, auditInfo As ProtectionPolicyAuditInfo) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)
Windows.Security.EnterpriseData.ProtectionPolicyManager.requestAccessForAppAsync(sourceIdentity, appPackageFamilyName, auditInfo).done( /* Your success and error handlers */ );

Parameters

sourceIdentity
String String String

The enterprise identity to which the content is protected. This is an email address or domain that is managed. Your app can use IsIdentityManaged to confirm that an email address or domain is managed.

appPackageFamilyName
String String String

The description of the App package family name.

Returns

Additional features and requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.14393.0) Windows Mobile Extension SDK (introduced v10.0.14393.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced v3)
See also

RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String)

Note

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

Request access to enterprise-protected content for a specific target app.

public : static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(Platform::String sourceIdentity, Platform::String appPackageFamilyName, ProtectionPolicyAuditInfo auditInfo, Platform::String messageFromApp)
static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(winrt::hstring sourceIdentity, winrt::hstring appPackageFamilyName, ProtectionPolicyAuditInfo auditInfo, winrt::hstring messageFromApp) const;
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(String sourceIdentity, String appPackageFamilyName, ProtectionPolicyAuditInfo auditInfo, String messageFromApp)
Public Shared Function RequestAccessForAppAsync(sourceIdentity As String, appPackageFamilyName As String, auditInfo As ProtectionPolicyAuditInfo, messageFromApp As String) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)
Windows.Security.EnterpriseData.ProtectionPolicyManager.requestAccessForAppAsync(sourceIdentity, appPackageFamilyName, auditInfo, messageFromApp).done( /* Your success and error handlers */ );

Parameters

sourceIdentity
String String String

The enterprise identity to which the content is protected. 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.

appPackageFamilyName
String String String

The enterprise identity to which the content is being disclosed. This is an email address or domain.

messageFromApp
String String String

A message that will be displayed in the consent dialog so that the user can make a consent decision.

Returns

Additional features and requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.14393.0) Windows Mobile Extension SDK (introduced v10.0.14393.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced v3)
See also

RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessForAppAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior)

Request access to enterprise-protected content for a specific target app.

public : static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(Platform::String sourceIdentity, Platform::String appPackageFamilyName, ProtectionPolicyAuditInfo auditInfo, Platform::String messageFromApp, ProtectionPolicyRequestAccessBehavior behavior)
static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(winrt::hstring sourceIdentity, winrt::hstring appPackageFamilyName, ProtectionPolicyAuditInfo auditInfo, winrt::hstring messageFromApp, ProtectionPolicyRequestAccessBehavior behavior) const;
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessForAppAsync(String sourceIdentity, String appPackageFamilyName, ProtectionPolicyAuditInfo auditInfo, String messageFromApp, ProtectionPolicyRequestAccessBehavior behavior)
Public Shared Function RequestAccessForAppAsync(sourceIdentity As String, appPackageFamilyName As String, auditInfo As ProtectionPolicyAuditInfo, messageFromApp As String, behavior As ProtectionPolicyRequestAccessBehavior) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)
Windows.Security.EnterpriseData.ProtectionPolicyManager.requestAccessForAppAsync(sourceIdentity, appPackageFamilyName, auditInfo, messageFromApp, behavior).done( /* Your success and error handlers */ );

Parameters

sourceIdentity
String String String

The enterprise identity to which the content is protected. This is an email address or domain that is managed.

appPackageFamilyName
String String String

The enterprise identity to which the content is being disclosed. This is an email address or domain.

messageFromApp
String String String

A message that will be displayed in the consent dialog so that the user can make a consent decision.

behavior
ProtectionPolicyRequestAccessBehavior ProtectionPolicyRequestAccessBehavior ProtectionPolicyRequestAccessBehavior

A constant that defines how you would like to override default policy behavior.

Returns

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)