Share via


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

String

属性

注解

警告

这是一个已弃用的 API。

可以在独立 Windows 环境登录完成之前对其进行查询。

适用于