UserDataProtectionManager.TryGetForUser(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.
Returns a UserDataProtectionManager instance for the specified user object. Windows.System.User.FindAllAsync() can be used to find users on the system. Caller must check if the returned object is null. If it null, UserDataProtectionManager is not supported on the system.
public:
static UserDataProtectionManager ^ TryGetForUser(User ^ user);
static UserDataProtectionManager TryGetForUser(User const& user);
public static UserDataProtectionManager TryGetForUser(User user);
function tryGetForUser(user)
Public Shared Function TryGetForUser (user As User) As UserDataProtectionManager
Parameters
- user
- User