Global Object

Microsoft Office Web Discussions Client Language

Global Object

         
Global DiscussionServers (DiscussionServer)
Discussions (Discussion)

Represents an instance of the Microsoft Office Server Extensions (OSE) library. Using the Global object, you can add subscriptions to discussion servers, get the name of the current Microsoft Office user, and return the collection of discussion servers or discussions on the OSE host.

Using the Global Object

Use the CurrentUserName property to return the name of the current Microsoft Office user. The following example displays a message box containing the name of the current user.

MsgBox "The current Microsoft Office user is " & _
    CurrentUserName

Use the OpenDiscussions method to return the Discussions collection for the document specified by the Uniform Resource Locator (URL). The following example returns the Discussions collection for the folder http://examples.microsoft.com.

Set dscDiscussions = _
    OpenDiscussions("http://examples.microsoft.com")