MailboxAdd()


Add a Mailbox to the Session Network.

Public Function MailboxAdd(ByVal SessionID As String, _
                           
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.
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 Session Network. To add a Mailbox to a different Network use MailboxAddEx().

The current User must have at least Network User Authorization Level..

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: 2101

See Also

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


© 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.