IUserExtension2.AddUserPropertiesWithExistingEmailAsync Method (IUserExtension2Properties, String, String)
Adds the extension properties asynchronously for a particular user who has the email address specified by the emailAddress parameter.
Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: MiscUtil (in MiscUtil.dll)
Syntax
void AddUserPropertiesWithExistingEmailAsync(
IUserExtension2Properties userExtensionProperties,
string password,
string emailAddress
)
void AddUserPropertiesWithExistingEmailAsync(
IUserExtension2Properties^ userExtensionProperties,
String^ password,
String^ emailAddress
)
Sub AddUserPropertiesWithExistingEmailAsync (
userExtensionProperties As IUserExtension2Properties,
password As String,
emailAddress As String
)
Parameters
userExtensionProperties
Type: Microsoft.WindowsServerSolutions.Common.IUserExtension2PropertiesThe extension properties for a particular user.
password
Type: System.StringThe password entered by the user.
emailAddress
Type: System.StringThe email address that will be assigned to the user.
Remarks
This is only available on Small Business Server 2011 Essentials.
Subscribe to the event AddUserPropertiesCompleted to obtain the result.
See Also
IUserExtension2 Interface
Microsoft.WindowsServerSolutions.Common Namespace
Return to top