Share via


TrustPolicy.NewTrustedRealm Method (String, String, String, RevocationFlags)

 

Adds a new TrustedRealm to this TrustPolicy.

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

Syntax

public TrustedRealm NewTrustedRealm(
    string trustUri,
    string displayName,
    string trustLsUrl,
    RevocationFlags revocationCheckFlags
)
public:
TrustedRealm^ NewTrustedRealm(
    String^ trustUri,
    String^ displayName,
    String^ trustLsUrl,
    RevocationFlags revocationCheckFlags
)
member NewTrustedRealm : 
        trustUri:string *
        displayName:string *
        trustLsUrl:string *
        revocationCheckFlags:RevocationFlags -> TrustedRealm
Public Function NewTrustedRealm (
    trustUri As String,
    displayName As String,
    trustLsUrl As String,
    revocationCheckFlags As RevocationFlags
) As TrustedRealm

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.TrustedRealm

The TrustedRealm that was added.

See Also

TrustPolicy Class
System.Web.Security.SingleSignOn Namespace

Return to top