Share via


TrustPolicy.NewTrustingRealm Method (String, String, String)

 

Adds a new TrustingRealm object to this TrustPolicy object.

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

Syntax

public TrustingRealm NewTrustingRealm(
    string trustUri,
    string displayName,
    string trustLsUrl
)
public:
TrustingRealm^ NewTrustingRealm(
    String^ trustUri,
    String^ displayName,
    String^ trustLsUrl
)
member NewTrustingRealm : 
        trustUri:string *
        displayName:string *
        trustLsUrl:string -> TrustingRealm
Public Function NewTrustingRealm (
    trustUri As String,
    displayName As String,
    trustLsUrl As String
) As TrustingRealm

Parameters

  • trustUri
    Type: System.String

    The uniform resource identifier (URI) of the trust partner.

  • displayName
    Type: System.String

    The display name for the new trusting realm.

  • trustLsUrl
    Type: System.String

    The URL for the trust partner Logon Server.

Return Value

Type: System.Web.Security.SingleSignOn.TrustingRealm

The new TrustingRealm object.

See Also

TrustPolicy Class
System.Web.Security.SingleSignOn Namespace

Return to top