Share via


EmailManager.GetForUser(User) Method

Definition

Gets the EmailManagerForUser object for the specified user.

public:
 static EmailManagerForUser ^ GetForUser(User ^ user);
 static EmailManagerForUser GetForUser(User const& user);
public static EmailManagerForUser GetForUser(User user);
function getForUser(user)
Public Shared Function GetForUser (user As User) As EmailManagerForUser

Parameters

user
User

The user account to use to get the EmailManagerForUser object.

Returns

Returns the email manager for the account specified by the user parameter.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
email emailSystem

Applies to