ProtectionPolicyManager.RequestAccessAsync メソッド

定義

オーバーロード

RequestAccessAsync(String, String)

Note

2022 年 7 月以降、Microsoft は Windows Information Protection (WIP) と WIP をサポートする API を非推奨とします。 Microsoft は引き続き、サポートされているバージョンの Windows で WIP をサポートします。 Windows の新しいバージョンには WIP の新機能は含まれません。また、今後のバージョンの Windows ではサポートされません。 詳細については、「Windows Information Protectionの終了を発表する」を参照してください。

データ保護のニーズに合わせて、Microsoft Purview 情報保護Microsoft Purview データ損失防止を使用することをお勧めします。 Purview を使用すると、構成のセットアップが簡略化され、高度な機能セットが提供されます。

ID のエンタープライズで保護されたコンテンツへのアクセスを要求します。

RequestAccessAsync(String, String, ProtectionPolicyAuditInfo)

Note

2022 年 7 月以降、Microsoft は Windows Information Protection (WIP) と WIP をサポートする API を非推奨とします。 Microsoft は引き続き、サポートされているバージョンの Windows で WIP をサポートします。 Windows の新しいバージョンには WIP の新機能は含まれません。また、今後のバージョンの Windows ではサポートされません。 詳細については、「Windows Information Protectionの終了を発表する」を参照してください。

データ保護のニーズに合わせて、Microsoft Purview 情報保護Microsoft Purview データ損失防止を使用することをお勧めします。 Purview を使用すると、構成のセットアップが簡略化され、高度な機能セットが提供されます。

ID のエンタープライズで保護されたコンテンツへのアクセスを要求します。

RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String)

Note

2022 年 7 月以降、Microsoft は Windows Information Protection (WIP) と WIP をサポートする API を非推奨とします。 Microsoft は引き続き、サポートされているバージョンの Windows で WIP をサポートします。 Windows の新しいバージョンには WIP の新機能は含まれません。また、今後のバージョンの Windows ではサポートされません。 詳細については、「Windows Information Protectionの終了を発表する」を参照してください。

データ保護のニーズに合わせて、Microsoft Purview 情報保護Microsoft Purview データ損失防止を使用することをお勧めします。 Purview を使用すると、構成のセットアップが簡略化され、高度な機能セットが提供されます。

ID のエンタープライズで保護されたコンテンツへのアクセスを要求します。

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

Note

2022 年 7 月以降、Microsoft は Windows Information Protection (WIP) と WIP をサポートする API を非推奨とします。 Microsoft は引き続き、サポートされているバージョンの Windows で WIP をサポートします。 Windows の新しいバージョンには WIP の新機能は含まれません。また、今後のバージョンの Windows ではサポートされません。 詳細については、「Windows Information Protectionの終了を発表する」を参照してください。

データ保護のニーズに合わせて、Microsoft Purview 情報保護Microsoft Purview データ損失防止を使用することをお勧めします。 Purview を使用すると、構成のセットアップが簡略化され、高度な機能セットが提供されます。

ID のエンタープライズで保護されたコンテンツへのアクセスを要求する

RequestAccessAsync(String, String)

Note

2022 年 7 月以降、Microsoft は Windows Information Protection (WIP) と WIP をサポートする API を非推奨とします。 Microsoft は引き続き、サポートされているバージョンの Windows で WIP をサポートします。 Windows の新しいバージョンには WIP の新機能は含まれません。また、今後のバージョンの Windows ではサポートされません。 詳細については、「Windows Information Protectionの終了を発表する」を参照してください。

データ保護のニーズに合わせて、Microsoft Purview 情報保護Microsoft Purview データ損失防止を使用することをお勧めします。 Purview を使用すると、構成のセットアップが簡略化され、高度な機能セットが提供されます。

ID のエンタープライズで保護されたコンテンツへのアクセスを要求します。

public:
 static IAsyncOperation<ProtectionPolicyEvaluationResult> ^ RequestAccessAsync(Platform::String ^ sourceIdentity, Platform::String ^ targetIdentity);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(winrt::hstring const& sourceIdentity, winrt::hstring const& targetIdentity);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Overload("RequestAccessAsync")]
 static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(winrt::hstring const& sourceIdentity, winrt::hstring const& targetIdentity);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(string sourceIdentity, string targetIdentity);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Overload("RequestAccessAsync")]
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(string sourceIdentity, string targetIdentity);
function requestAccessAsync(sourceIdentity, targetIdentity)
Public Shared Function RequestAccessAsync (sourceIdentity As String, targetIdentity As String) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)

パラメーター

sourceIdentity
String

Platform::String

winrt::hstring

コンテンツが保護されるエンタープライズ ID。 これは、管理されているメール アドレスまたはドメインです。 アプリでは 、IsIdentityManaged を使用して、メール アドレスまたはドメインが管理されていることを確認する必要があります。

targetIdentity
String

Platform::String

winrt::hstring

コンテンツが開示されるエンタープライズ ID。 これはメール アドレスまたはドメインです。

戻り値

要求の結果である ProtectionPolicyEvaluationResult 列挙の値。

属性

注釈

フォアグラウンド アプリのメイン UI スレッドからこのメソッドを呼び出します。

こちらもご覧ください

適用対象

RequestAccessAsync(String, String, ProtectionPolicyAuditInfo)

Note

2022 年 7 月以降、Microsoft は Windows Information Protection (WIP) と WIP をサポートする API を非推奨とします。 Microsoft は引き続き、サポートされているバージョンの Windows で WIP をサポートします。 Windows の新しいバージョンには WIP の新機能は含まれません。また、今後のバージョンの Windows ではサポートされません。 詳細については、「Windows Information Protectionの終了を発表する」を参照してください。

データ保護のニーズに合わせて、Microsoft Purview 情報保護Microsoft Purview データ損失防止を使用することをお勧めします。 Purview を使用すると、構成のセットアップが簡略化され、高度な機能セットが提供されます。

ID のエンタープライズで保護されたコンテンツへのアクセスを要求します。

public:
 static IAsyncOperation<ProtectionPolicyEvaluationResult> ^ RequestAccessAsync(Platform::String ^ sourceIdentity, Platform::String ^ targetIdentity, ProtectionPolicyAuditInfo ^ auditInfo);
/// [Windows.Foundation.Metadata.Overload("RequestAccessWithAuditingInfoAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(winrt::hstring const& sourceIdentity, winrt::hstring const& targetIdentity, ProtectionPolicyAuditInfo const& auditInfo);
[Windows.Foundation.Metadata.Overload("RequestAccessWithAuditingInfoAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(string sourceIdentity, string targetIdentity, ProtectionPolicyAuditInfo auditInfo);
function requestAccessAsync(sourceIdentity, targetIdentity, auditInfo)
Public Shared Function RequestAccessAsync (sourceIdentity As String, targetIdentity As String, auditInfo As ProtectionPolicyAuditInfo) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)

パラメーター

sourceIdentity
String

Platform::String

winrt::hstring

コンテンツが保護されるエンタープライズ ID。 これは、管理されているメール アドレスまたはドメインです。 アプリでは 、IsIdentityManaged を使用して、メール アドレスまたはドメインが管理されていることを確認する必要があります。

targetIdentity
String

Platform::String

winrt::hstring

コンテンツが開示されるエンタープライズ ID。 これはメール アドレスまたはドメインです。

auditInfo
ProtectionPolicyAuditInfo

監査情報オブジェクト。 ProtectionPolicyAuditInfo のインスタンス。

戻り値

要求の結果である ProtectionPolicyEvaluationResult 列挙の値。

属性

Windows の要件

デバイス ファミリ
Windows Desktop Extension SDK (10.0.14393.0 で導入)
Windows Mobile Extension SDK (10.0.14393.0 で導入)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (v3.0 で導入)

注釈

フォアグラウンド アプリのメイン UI スレッドからこのメソッドを呼び出します。

こちらもご覧ください

適用対象

RequestAccessAsync(String, String, ProtectionPolicyAuditInfo, String)

Note

2022 年 7 月以降、Microsoft は Windows Information Protection (WIP) と WIP をサポートする API を非推奨とします。 Microsoft は引き続き、サポートされているバージョンの Windows で WIP をサポートします。 Windows の新しいバージョンには WIP の新機能は含まれません。また、今後のバージョンの Windows ではサポートされません。 詳細については、「Windows Information Protectionの終了を発表する」を参照してください。

データ保護のニーズに合わせて、Microsoft Purview 情報保護Microsoft Purview データ損失防止を使用することをお勧めします。 Purview を使用すると、構成のセットアップが簡略化され、高度な機能セットが提供されます。

ID のエンタープライズで保護されたコンテンツへのアクセスを要求します。

public:
 static IAsyncOperation<ProtectionPolicyEvaluationResult> ^ RequestAccessAsync(Platform::String ^ sourceIdentity, Platform::String ^ targetIdentity, ProtectionPolicyAuditInfo ^ auditInfo, Platform::String ^ messageFromApp);
/// [Windows.Foundation.Metadata.Overload("RequestAccessWithMessageAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(winrt::hstring const& sourceIdentity, winrt::hstring const& targetIdentity, ProtectionPolicyAuditInfo const& auditInfo, winrt::hstring const& messageFromApp);
[Windows.Foundation.Metadata.Overload("RequestAccessWithMessageAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(string sourceIdentity, string targetIdentity, ProtectionPolicyAuditInfo auditInfo, string messageFromApp);
function requestAccessAsync(sourceIdentity, targetIdentity, auditInfo, messageFromApp)
Public Shared Function RequestAccessAsync (sourceIdentity As String, targetIdentity As String, auditInfo As ProtectionPolicyAuditInfo, messageFromApp As String) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)

パラメーター

sourceIdentity
String

Platform::String

winrt::hstring

コンテンツが保護されるエンタープライズ ID。 これは、管理されているメール アドレスまたはドメインです。 アプリでは 、IsIdentityManaged を使用して、メール アドレスまたはドメインが管理されていることを確認する必要があります。

targetIdentity
String

Platform::String

winrt::hstring

コンテンツが開示されるエンタープライズ ID。 これはメール アドレスまたはドメインです。

auditInfo
ProtectionPolicyAuditInfo

監査情報オブジェクト。 ProtectionPolicyAuditInfo のインスタンス。

messageFromApp
String

Platform::String

winrt::hstring

ユーザーが同意を決定できるように、同意ダイアログに表示されるメッセージ。

戻り値

要求の結果である ProtectionPolicyEvaluationResult 列挙の値。

属性

Windows の要件

デバイス ファミリ
Windows Desktop Extension SDK (10.0.14393.0 で導入)
Windows Mobile Extension SDK (10.0.14393.0 で導入)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (v3.0 で導入)

注釈

フォアグラウンド アプリのメイン UI スレッドからこのメソッドを呼び出します。

こちらもご覧ください

適用対象

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

Note

2022 年 7 月以降、Microsoft は Windows Information Protection (WIP) と WIP をサポートする API を非推奨とします。 Microsoft は引き続き、サポートされているバージョンの Windows で WIP をサポートします。 Windows の新しいバージョンには WIP の新機能は含まれません。また、今後のバージョンの Windows ではサポートされません。 詳細については、「Windows Information Protectionの終了を発表する」を参照してください。

データ保護のニーズに合わせて、Microsoft Purview 情報保護Microsoft Purview データ損失防止を使用することをお勧めします。 Purview を使用すると、構成のセットアップが簡略化され、高度な機能セットが提供されます。

ID のエンタープライズで保護されたコンテンツへのアクセスを要求する

public:
 static IAsyncOperation<ProtectionPolicyEvaluationResult> ^ RequestAccessAsync(Platform::String ^ sourceIdentity, Platform::String ^ targetIdentity, ProtectionPolicyAuditInfo ^ auditInfo, Platform::String ^ messageFromApp, ProtectionPolicyRequestAccessBehavior behavior);
/// [Windows.Foundation.Metadata.Overload("RequestAccessWithBehaviorAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(winrt::hstring const& sourceIdentity, winrt::hstring const& targetIdentity, ProtectionPolicyAuditInfo const& auditInfo, winrt::hstring const& messageFromApp, ProtectionPolicyRequestAccessBehavior const& behavior);
[Windows.Foundation.Metadata.Overload("RequestAccessWithBehaviorAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(string sourceIdentity, string targetIdentity, ProtectionPolicyAuditInfo auditInfo, string messageFromApp, ProtectionPolicyRequestAccessBehavior behavior);
function requestAccessAsync(sourceIdentity, targetIdentity, auditInfo, messageFromApp, behavior)
Public Shared Function RequestAccessAsync (sourceIdentity As String, targetIdentity As String, auditInfo As ProtectionPolicyAuditInfo, messageFromApp As String, behavior As ProtectionPolicyRequestAccessBehavior) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)

パラメーター

sourceIdentity
String

Platform::String

winrt::hstring

コンテンツが保護されるエンタープライズ ID。

targetIdentity
String

Platform::String

winrt::hstring

コンテンツが開示されるエンタープライズ ID。 これはメール アドレスまたはドメインです。

auditInfo
ProtectionPolicyAuditInfo

監査情報オブジェクト。 ProtectionPolicyAuditInfo のインスタンス。

messageFromApp
String

Platform::String

winrt::hstring

ユーザーが同意を決定できるように、同意ダイアログに表示されるメッセージ。

behavior
ProtectionPolicyRequestAccessBehavior

既定のポリシー動作をオーバーライドする方法を定義する定数。

戻り値

要求の結果である ProtectionPolicyEvaluationResult 列挙の値。

属性

Windows の要件

デバイス ファミリ
Windows Desktop Extension SDK (10.0.15063.0 で導入)
Windows Mobile Extension SDK (10.0.15063.0 で導入)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (v4.0 で導入)

注釈

フォアグラウンド アプリのメイン UI スレッドからこのメソッドを呼び出します。

適用対象