ProtectionPolicyManager.GetPrimaryManagedIdentityForIdentity(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 の親 ID またはプライマリ ID を取得します。

public:
 static Platform::String ^ GetPrimaryManagedIdentityForIdentity(Platform::String ^ identity);
 static winrt::hstring GetPrimaryManagedIdentityForIdentity(winrt::hstring const& identity);
public static string GetPrimaryManagedIdentityForIdentity(string identity);
function getPrimaryManagedIdentityForIdentity(identity)
Public Shared Function GetPrimaryManagedIdentityForIdentity (identity As String) As String

パラメーター

identity
String

Platform::String

winrt::hstring

親またはプライマリ ID を取得するために使用する子またはセカンダリ ID。

戻り値

String

Platform::String

winrt::hstring

親 ID またはプライマリ ID。

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 で導入)

注釈

ほとんどのポリシーには ID の一覧があります。 通常、プライマリ ID はその一覧の最初に表示されます。 通常、セカンダリ ID はプライマリ ID の後に表示されます。 これらのセカンダリ ID は、ある意味ではプライマリ ID によって "所有" されます。

適用対象