HostedEmailManager.CreateAccount Method (String, String, EmailAccountInfo)
Synchronous call to create a new email account.
Namespace: Microsoft.WindowsServerSolutions.HostedEmail
Assembly: Wssg.HostedEmailObjectModel (in Wssg.HostedEmailObjectModel.dll)
Syntax
public EmailAccountInfo CreateAccount(
string wssUserName,
string password,
EmailAccountInfo accountInfo
)
public:
EmailAccountInfo^ CreateAccount(
String^ wssUserName,
String^ password,
EmailAccountInfo^ accountInfo
)
Public Function CreateAccount (
wssUserName As String,
password As String,
accountInfo As EmailAccountInfo
) As EmailAccountInfo
Parameters
wssUserName
Type: System.StringName of the Windows Server user.
password
Type: System.StringPassword for the new email account.
accountInfo
Type: Microsoft.WindowsServerSolutions.HostedEmail.EmailAccountInfoInformation describing the new email account.
Return Value
Type: Microsoft.WindowsServerSolutions.HostedEmail.EmailAccountInfo
A EmailAccountInfo that describes the new email account.
See Also
HostedEmailManager Class
Microsoft.WindowsServerSolutions.HostedEmail Namespace
Return to top