GRANT REMOTE statement
Function Usethis statement to identify a database immediately below the current
databasein a SQL Remote hierarchy, who will receive messages from the
currentdatabase. Theseare called remote users.
Syntax GRANTREMOTE TO userid ,. . .
TYPE message-system, .. .
ADDRESS address-string, .. .
[SEND {EVERY|AT }send-time]
Parameters
Parameter Description
userid
Theuser ID for the user to be granted the permission
message-
system
Oneof the message systems supported by SQL Remote. It
mustbe one of the following values:
FILE
FTP
MAPI
SMTP
VIM
address-string
A string containing a valid address for the specified
messagesystem.
send-time
A string containing a time specification in the form
hh
:
mm
:
ss
.
Permissions Musthave DBA authority.
Sideeffects Automaticcommit.
Seealso “GRANTREMOTE statement [SQL Remote]” [ASA SQL Reference, page 511]
“GRANTCONSOLIDATE statement” on page 364
“REVOKEREMOTE statement” on page 372
“GRANTPUBLISH statement” on page 365
“sp_grant_remoteprocedure” on page 393
“Grantingand revoking REMOTE and CONSOLIDATE permissions” on
page204
366