CortanaActionableInsights.GetForUser(User) 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.
Retrieves a CortanaActionableInsights object for the specified user.
public:
static CortanaActionableInsights ^ GetForUser(User ^ user);
static CortanaActionableInsights GetForUser(User const& user);
/// [Windows.Foundation.Metadata.Deprecated("CortanaActionableInsights is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
static CortanaActionableInsights GetForUser(User const& user);
public static CortanaActionableInsights GetForUser(User user);
[Windows.Foundation.Metadata.Deprecated("CortanaActionableInsights is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public static CortanaActionableInsights GetForUser(User user);
function getForUser(user)
Public Shared Function GetForUser (user As User) As CortanaActionableInsights
Parameters
- user
- User
The user.
Returns
The insights for the specified user.
- Attributes
Windows requirements
App capabilities |
cortanaSurface
|
Remarks
The CortanaActionableInsights class requires the following be added to the Package.appxmanifest:
- To <Package>
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="rescap"
- Under <Capabilities>
<rescap:capability name="cortanaSurface"/>