MailboxAddEx()


Add a Mailbox to a specified Network.

Public Function MailboxAddEx(ByVal SessionID As String, _
                             
ByVal NetworkID As Integer, _
                             ByVal Name As String, _
                             ByVal UserID as Integer
) _
                            
As Integer

Parameters

SessionID
String - GUID
The current session's GUID in string format. This is a 32-character hexidecimal string in the format:
00000000-0000-0000-0000-000000000000. This is the value returned by the Login() function.
NetworkID
Integer
The ECGrid NetworkID assigned to the network.
Name
String(i,j)
A generic variable that is used to match any type of Name field (e.g. Network Name, FirstName, LastName, LoginName, etc.).
UserID
Integer
The User to have administrative ownership of this Mailbox.

Returns

MailboxID
Integer
The MailboxID assigned to a Mailbox within a Network on ECGrid.

Remarks

Create a new Mailbox on the specified Network. Use MailboxAdd() to add a Mailbox to the Session Network.

The current User must have at least NetOps Authorization Level to add a Mailbox to a Network other than the Session Network.

The MailboxID is a randomly generated Integer and is unique across ECGrid.

The UserID is assigned to the Owner Contact, Errors Contact, Interconnects Contact and Notices Contact.

Example

Visual Basic
[insert code sample]

EventID: 2102

See Also

Networks & Mailboxes
MailboxAdd()
Session Network/Mailbox
MailboxID
MailboxOwnerContact()
MailboxErrorsContact()
MailboxInterconnectsContact()


© 2008-2011, Loren Data Corp.
All rights reserved.
ECGrid is a registered service mark of Loren Data Corp.
ECGridOS is a service mark of Loren Data Corp.