IsolatedWindowsEnvironmentUserInfo.EnvironmentUserName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Remarks
Warning
This is a deprecated API.
This can be queried before Isolated Windows Environment sign-in completes.