Microsoft Office 2000/Visual Basic Programmer's Guide   

Understanding the Global Object

Because the Global object is the top-level object in the Office Server Extensions object model, it is not necessary to explicitly reference the Global object when you are using its methods or properties. The Global object exposes two properties and two methods. The DiscussionServers property returns the DiscussionServers collection, and the CurrentUserName property contains the user name of the person currently logged on to the machine. The OpenDiscussions method returns the Discussions collection for the document specified by its URL argument, and the AddOfficeServerSubscription method is used to add a subscription to a document. This method uses several arguments that map directly to the settings in the Document Subscription dialog box that appears when you click the Subscribe button on the Discussions toolbar.