Share via


IsolatedWindowsEnvironmentUserInfo.EnvironmentUserName Property

Definition

Deprecated. Gets the username of the user signed in to the Isolated Windows Environment, since this is different and separate from the host user.

public:
 property Platform::String ^ EnvironmentUserName { Platform::String ^ get(); };
winrt::hstring EnvironmentUserName();
/// [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 EnvironmentUserName();
public string EnvironmentUserName { get; }
public string EnvironmentUserName { [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.environmentUserName;
Public ReadOnly Property EnvironmentUserName As String

Property Value

String

Platform::String

winrt::hstring

String

Attributes

Remarks

Warning

This is a deprecated API.

This can be queried before Isolated Windows Environment sign-in completes.

Applies to