IsolatedWindowsEnvironment.GetUserInfo Method
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. Since the isolated environment user is different and separate from the host user, a host application may need to know information about the user signed into the isolated environment, such as the username and SID. This API exposes those values without needing to wait for the sign-in process to complete.
public:
virtual IsolatedWindowsEnvironmentUserInfo ^ GetUserInfo() = GetUserInfo;
IsolatedWindowsEnvironmentUserInfo GetUserInfo();
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
IsolatedWindowsEnvironmentUserInfo GetUserInfo();
public IsolatedWindowsEnvironmentUserInfo GetUserInfo();
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public IsolatedWindowsEnvironmentUserInfo GetUserInfo();
function getUserInfo()
Public Function GetUserInfo () As IsolatedWindowsEnvironmentUserInfo
Returns
IsolatedWindowsEnvironmentUserInfo
- Attributes
Windows requirements
Device family |
Windows 10, version 2104 (introduced in 10.0.20348.0)
|
API contract |
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (introduced in v3.0)
|
Remarks
Warning
This is a deprecated API.