Resources

This collection contains Resource objects.

Properties

The following table lists the properties for this class, along with access and descriptions.

Property

Access

Description

_NewEnum

R/O

Enumeration object. Implements IEnumVARIANT. (For Windows only.)

ObjType

R/O

Enum( eadObjResources )

System

R/O

System

Methods

Resource Add( String ObjName, String DN, User Owner, [String MailboxID], [String PO], [String Dom] )

Creates a Resource object with the given ObjName, DN (distinguished name), and Owner. See Remarks below.

Resource Add( String ObjName, String DN, User Owner, [String MailboxID], [ PostOffice PO], [Domain Dom] )

Creates a Resource object with the given ObjName, DN (distinguished name), and Owner. See Remarks below.

ResourcesIterator CreateIterator()

Creates a ResourcesIterator object.

Resource Item( String Name, [String PO], [String Dom] )

Returns object with the given Name.

Resource Item( String Name, [PostOffice PO], [Domain Dom] )

Returns object with the given Name.

Resource ItemByDN( String DN, [String Tree] )

Returns the Resource object with the given DN (distinguished name). If no Tree is supplied, the current tree is assumed.

Resource ItemByObjectID( String ObjectID )

Returns the Resource object with the given ObjectID.

Remarks

The MailboxID parameter in the Add method is an optional three-character, alphanumeric file ID that is used to define the Resource in the User database. It is highly recommended that you do not specify a Mailbox ID, in which case the system will assign one for you. However, if you do specify a MailboxID, and it conflicts with an existing one, the system will automatically assign a different MailboxID.

This table applies to the above methods as noted. It shows the parameters you can use with the methods depending on where you obtain the Users object.

Source of Resources Object

Required Parameters

Optional Parameters

PostOffice

   

PO, Dom

Domain

PO

Dom

System

PO, Dom