ROLogin

Description

Sets or returns the login name for users who have read-only access to the schema repository (master database).

This property is used only in conjunction with databases whose Vendor property is SQL_SERVER.

Note: This setting can be different from DBOLogin in SQL Server 6.5 installations. For newer installations, it is the same as DBOLogin.

The read-only login name and password are for users who need to view the information in the database but who are not allowed to modify the contents of the database.

Note: Setting a new value does not take effect until the ApplyPropertyChanges method is called.

Syntax

VBScript


database.ROLogin 
database.ROLogin loginName 

Perl


$database->GetROLogin(); 
$database->SetROLogin(loginName); 
Identifier
Description
database
A Database object.
loginName
A String containing the read-only login name.
Return value
A String containing the read-only login name.