TrustRealm.IsWindowsRealm Property

 

Gets or sets whether this partner is in a forest which is trusted by the forest to which this Federation Server is joined to.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

public bool IsWindowsRealm { get; set; }
public:
property bool IsWindowsRealm {
    bool get();
    void set(bool value);
}
member IsWindowsRealm : bool with get, set
Public Property IsWindowsRealm As Boolean

Property Value

Type: System.Boolean

true if the TrustRealm is a Windows realm; otherwise; false.

Remarks

If the IsWindowsRealm property is set to true, only the following are valid:

  • AllowedTrustedWindowsDomains = null; // to allow all windows domains, or

  • AllowedTrustedWindowsDomains.DomainNames.Add(strDomainName); // for each domain you want to allow.

If IsWindowsRealm property is set to FALSE, then only the following is valid:

See Also

TrustRealm Class
System.Web.Security.SingleSignOn Namespace

Return to top