SubscribeDatabase

Description

Subscribes this user to the specified database.

Use this method to subscribe the user to additional databases. To unsubscribe the user, use the UnsubscribeDatabase method. To get a list of the databases to which the user belongs, get the collection of Database objects in the SubscribedDatabases property.

When calling SubscribeDatabase :


$UserObject->SubscribeDatabase($DBObject);

the user is subsequently required to execute UpgradeMasterUserInfo in order for the SubscribeDatabase method to have an effect on the user database represented by $DBObject:


$DBObject->UpgradeMasterUserInfo();

Syntax

VBScript


user.SubscribeDatabase database 

Perl


$user->SubscribeDatabase(database); 
Identifier
Description
user
A User object.
database
The Database object to which the user will be subscribed.
Return value
None.