Share via


AllowedDomains Property

Gets or set the list of allowed domains.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Property AllowedDomains As IEnumerable(Of String)
    Get
    Set
'Usage
Dim instance As ServerPlatformSettings
Dim value As IEnumerable(Of String)

value = instance.AllowedDomains

instance.AllowedDomains = value
public IEnumerable<string> AllowedDomains { get; set; }

Property Value

Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>

Remarks

If this is not set, incoming connections are not allowed from any machine except from those destinations to which an outgoing connection has been made.

Sets the list of allowed domains. This represents 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 an FQDN and a complete match will be performed.

See Also

Reference

ServerPlatformSettings Class

ServerPlatformSettings Members

Microsoft.Rtc.Collaboration Namespace