HostedEmailManager.AssignAccount Method (String, String)
Synchronous call to bind a Windows Server 2012 Essentials user with an email account.
Namespace: Microsoft.WindowsServerSolutions.HostedEmail
Assembly: Wssg.HostedEmailObjectModel (in Wssg.HostedEmailObjectModel.dll)
Syntax
public void AssignAccount(
string wssUserName,
string accountId
)
public:
void AssignAccount(
String^ wssUserName,
String^ accountId
)
Public Sub AssignAccount (
wssUserName As String,
accountId As String
)
Parameters
wssUserName
Type: System.StringName of the user account.
accountId
Type: System.StringID of the email account.
Remarks
HostedEmailAccountUpdated is raised if this account is assigned successfully.
See Also
HostedEmailManager Class
Microsoft.WindowsServerSolutions.HostedEmail Namespace
Return to top