Sets the list of allowed domains. This
respresents the list of computers that are allowed to make incoming
connections when mutual TLS is used. The subject or alternate
subjects in the certificate are matched against this list. Only
computers that have a matching entry in this list will be allowed
to make incoming connections. This can be set even while listening
and will affect future incoming connections. The domain check is
done based on suffix match. So, it is important to use "." at the
beginning for domains. For example, ".microsoft.com" rather than
"microsoft.com". If there is no leading ., then it is assumed to be
FQDN and a complete match will be performed.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
SetAllowedDomains ( _
allowedDomainsToSet
As
IEnumerable(
Of
String) _
)
|
C# |
public
void
SetAllowedDomains(
IEnumerable<
string>
allowedDomainsToSet
)
|
Visual C++ |
public:
void
SetAllowedDomains(
IEnumerable<
String^>^
allowedDomainsToSet
)
|
JavaScript |
function
setAllowedDomains(
allowedDomainsToSet);
|
Parameters
-
allowedDomainsToSet
- Type:
IEnumerable
<
(Of
<
(
String
>
)
>
)
The list of allowed domains.
See Also