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.StringThe uniform resource identifier (URI) of the trust partner.
displayName
Type: System.StringThe display name for the new trusting realm.
trustLsUrl
Type: System.StringThe URL for the trust partner Logon Server.
revocationCheckFlags
Type: System.Web.Security.SingleSignOn.RevocationFlagsIndicates the desired revocation checking behavior.
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