次の方法で共有


IsolatedWindowsEnvironmentUserInfo.EnvironmentUserSid プロパティ

定義

非推奨になりました。 分離された Windows 環境にサインインしているユーザーの SID を取得します。これはホスト ユーザーとは異なり、分離されているためです。

public:
 property Platform::String ^ EnvironmentUserSid { Platform::String ^ get(); };
winrt::hstring EnvironmentUserSid();
/// [get: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
winrt::hstring EnvironmentUserSid();
public string EnvironmentUserSid { get; }
public string EnvironmentUserSid { [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] get; }
var string = isolatedWindowsEnvironmentUserInfo.environmentUserSid;
Public ReadOnly Property EnvironmentUserSid As String

プロパティ値

String

Platform::String

winrt::hstring

文字列

属性

注釈

警告

これは非推奨の API です。

これは、Isolated Windows Environment のサインインが完了する前に照会できます。

適用対象