ProtectionPolicyManager.RequestAccessAsync ProtectionPolicyManager.RequestAccessAsync ProtectionPolicyManager.RequestAccessAsync ProtectionPolicyManager.RequestAccessAsync ProtectionPolicyManager.RequestAccessAsync Method

Definition

Overloads

RequestAccessAsync(String, String) RequestAccessAsync(String, String) RequestAccessAsync(String, String) RequestAccessAsync(String, String) RequestAccessAsync(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 an identity.

RequestAccessAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessAsync(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 an identity.

RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessAsync(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 an identity.

RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior)

Request access to enterprise protected content for an identity

RequestAccessAsync(String, String) RequestAccessAsync(String, String) RequestAccessAsync(String, String) RequestAccessAsync(String, String) RequestAccessAsync(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 an identity.

public : static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(Platform::String sourceIdentity, Platform::String targetIdentity)
static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(winrt::hstring sourceIdentity, winrt::hstring targetIdentity) const;
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(String sourceIdentity, String targetIdentity)
Public Shared Function RequestAccessAsync(sourceIdentity As String, targetIdentity As String) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)
Windows.Security.EnterpriseData.ProtectionPolicyManager.requestAccessAsync(sourceIdentity, targetIdentity).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.

targetIdentity
String String String

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

Returns

Remarks

Call this method from the main UI thread of your foreground app.

See also

RequestAccessAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo) RequestAccessAsync(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 an identity.

public : static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(Platform::String sourceIdentity, Platform::String targetIdentity, ProtectionPolicyAuditInfo auditInfo)
static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(winrt::hstring sourceIdentity, winrt::hstring targetIdentity, ProtectionPolicyAuditInfo auditInfo) const;
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(String sourceIdentity, String targetIdentity, ProtectionPolicyAuditInfo auditInfo)
Public Shared Function RequestAccessAsync(sourceIdentity As String, targetIdentity As String, auditInfo As ProtectionPolicyAuditInfo) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)
Windows.Security.EnterpriseData.ProtectionPolicyManager.requestAccessAsync(sourceIdentity, targetIdentity, 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 should use IsIdentityManaged to confirm that an email address or domain is managed.

targetIdentity
String String String

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

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)

Remarks

Call this method from the main UI thread of your foreground app.

See also

RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String) RequestAccessAsync(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 an identity.

public : static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(Platform::String sourceIdentity, Platform::String targetIdentity, ProtectionPolicyAuditInfo auditInfo, Platform::String messageFromApp)
static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(winrt::hstring sourceIdentity, winrt::hstring targetIdentity, ProtectionPolicyAuditInfo auditInfo, winrt::hstring messageFromApp) const;
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(String sourceIdentity, String targetIdentity, ProtectionPolicyAuditInfo auditInfo, String messageFromApp)
Public Shared Function RequestAccessAsync(sourceIdentity As String, targetIdentity As String, auditInfo As ProtectionPolicyAuditInfo, messageFromApp As String) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)
Windows.Security.EnterpriseData.ProtectionPolicyManager.requestAccessAsync(sourceIdentity, targetIdentity, 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.

targetIdentity
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)

Remarks

Call this method from the main UI thread of your foreground app.

See also

RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior) RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String, ProtectionPolicyRequestAccessBehavior)

Request access to enterprise protected content for an identity

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

Parameters

sourceIdentity
String String String

The enterprise identity to which the content is protected.

targetIdentity
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)

Remarks

Call this method from the main UI thread of your foreground app.