StoreConfiguration.ShouldRestrictToEnterpriseStoreOnlyForUser(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.
Determines whether the Microsoft Store for Business is enabled for the specified user.
public:
static bool ShouldRestrictToEnterpriseStoreOnlyForUser(User ^ user);
static bool ShouldRestrictToEnterpriseStoreOnlyForUser(User const& user);
public static bool ShouldRestrictToEnterpriseStoreOnlyForUser(User user);
function shouldRestrictToEnterpriseStoreOnlyForUser(user)
Public Shared Function ShouldRestrictToEnterpriseStoreOnlyForUser (user As User) As Boolean
Parameters
- user
- User
A Windows.System.User object that identifies the user for whom you want to determine whether the Microsoft Store for Business is enabled.
Returns
bool
True if the Microsoft Store for Business is enabled for the specified user; otherwise false.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for