getRestrictedDomains

Returns a list of restricted or blacklisted domains.

Syntax

getRestrictedDomains

Purpose

The getRestricted Domains command returns a list of blacklisted domains only if such domains were set in the Sametime® Gateway Server. When the Sametime Gateway Server receives a subscription request, the Sametime Gateway checks the DNS blacklist sites and rejects messages when either the destination or source domains are in this list.

Data type: String

Sample

This sample returns a list of blacklisted domains in the Sametime Gateway Server:
set ons [$AdminControl completeObjectName type=RTCAdminMbean,*]
$AdminControl invoke $ons getRestrictedDomains