共用方式為


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。

這可以在隔離的 Windows 環境登入完成之前進行查詢。

適用於