Microsoft Identity Integration Server 2003 Developer Reference

ExchangeUtils.Create55Mailbox

The Create55Mailbox method creates a mailbox in Exchange Server 5.5.
[C#]
public CSEntry Create55Mailbox(
  ConnectedMA  TargetExchange55MA,
  ReferenceValue  DistinguishedName,
  String  Alias,
  String DisplayName,
  String SMTPEmail,
  String ORAddress,
  String HomeMDB,
  String HomeMTA,
  Byte[] AssocNTAccount
);
[Visual Basic .NET]
Public Function Create55Mailbox( _
  ByVal  TargetExchange55MA As ConnectedMA, _
  ByVal  DistinguishedName As ReferenceValue, _
  ByVal  Alias As String, _
  ByVal DisplayName As String, _
  ByVal SMTPEmail As String, _
  ByVal ORAddress As String, _
  ByVal HomeMDB As String, _
  ByVal HomeMTA As String, _
  ByVal AssocNTAccount As Byte[] _
) As CSEntry
Implements ExchangeUtils.Create55Mailbox

Parameters

TargetExchange55MA
The Exchange 5.5 management agent through which the new object is provisioned.
DistinguishedName
The distinguished name of the mailbox.
Alias
The mail alias of the mailbox.
DisplayName
The name that is displayed for the mailbox.
SMTPEmail
The SMTP address of the mailbox.
ORAddress
The primary X.400 address for the recipient.
HomeMDB
The location of the mailbox store.
HomeMTA
The location of the message transfer agent.
AssocNTAccount
The security descriptor of the user account associated with the mailbox.

Return Values

Returns a CSEntry representing the connected data source entry.

Exceptions

Exception type Condition
ArgumentException A required parameter is not present.
ArgumentNullException A required parameter is null.
AttributeNotInInclusionListException A required attribute is not selected in the management agent.
InvalidOperationException You attempted to create the same custom recipient more than once in the IMVSynchronization.Provision method. This method is called for each metaverse object when a metaverse rules extension exists.
NoSuchObjectTypeException The object type referenced is not in the schema.

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

Example: Exchange 5.5 Mailbox, CSEntry, ExchangeUtils