FederationServerSoapProxy.GetTrustedRealmUri Method (String, String)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

This method supports the AD FS infrastructure and is not meant to be used directly from your code. The claims-aware AD FS Web Agent calls this web method on the FS to retrieve the URI of the realm a user may belong to.

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

Syntax

[SoapDocumentMethodAttribute("https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/GetTrustedRealmUri", 
    RequestNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/", 
    ResponseNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public bool GetTrustedRealmUri(
    string email,
    out string trustedRealmUri
)
public:
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/GetTrustedRealmUri", 
    RequestNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/", 
    ResponseNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
virtual bool GetTrustedRealmUri(
    String^ email,
    [OutAttribute] String^% trustedRealmUri
) sealed
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/GetTrustedRealmUri",
    RequestNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    ResponseNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
abstract GetTrustedRealmUri : 
        email:string *
        trustedRealmUri:string byref -> bool
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/GetTrustedRealmUri",
    RequestNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    ResponseNamespace = "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
override GetTrustedRealmUri : 
        email:string *
        trustedRealmUri:string byref -> bool
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/GetTrustedRealmUri",
    RequestNamespace := "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    ResponseNamespace := "https://schemas.microsoft.com/ActiveDirectory/FederationService/2005/07/",
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)>
Public Function GetTrustedRealmUri (
    email As String,
    <OutAttribute> ByRef trustedRealmUri As String
) As Boolean

Parameters

  • trustedRealmUri
    Type: System.String

    The URI of the trusted realm.

Return Value

Type: System.Boolean

true if the call succeeded; otherwise, false.

Implements

IFederationServer.GetTrustedRealmUri(String, String)

See Also

FederationServerSoapProxy Class
System.Web.Security.SingleSignOn Namespace

Return to top