IdentityProviderInitiatedSignonPage.RelyingParties Property
Gets a table that contains information about the WebSSO-compatible relying party (RP) applications that are configured with the Active Directory® Federation Services (AD FS) 2.0 server.
Namespace: Microsoft.IdentityServer.Web.UI
Assembly: Microsoft.IdentityServer (in Microsoft.IdentityServer)
Usage
'Usage
Dim value As DataTable
value = Me.RelyingParties
Syntax
'Declaration
Protected ReadOnly Property RelyingParties As DataTable
protected DataTable RelyingParties { get; }
protected:
property DataTable^ RelyingParties {
DataTable^ get ();
}
/** @property */
protected DataTable get_RelyingParties ()
protected function get RelyingParties () : DataTable
Property Value
A DataTable that contains information about the configured WebSSO-compatible RP applications.
Example
The following example shows how to retrieve information about the first compatible RP application using the RelyingParties property.
// Make sure there are relying parties
if(RelyingParties.Rows.Count > 0)
{
string rpIdentity = RelyingParties.Rows[0]["Id"];
string rpFriendlyName = RelyingParties.Rows[0]["Name"];
...
}
Remarks
The RelyingParties property is used to display the list of RP applications that is shown to the user during IDP initiated sign-on. The DataTable contains the following columns.
Column Name | Column Value |
---|---|
“Id” |
A string that contains the URI that identifies the RP. This is equivalent to the RP’s SAML EntityId. |
“Name” |
The display name configured for the RP. |
For more information, including, code samples, see IdpInitiatedSignOnPage Class Overview.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Server 2008 R2
Target Platforms
Windows Server 2008, Windows Server 2008 R2
Change History
See Also
Reference
IdentityProviderInitiatedSignonPage Class
IdentityProviderInitiatedSignonPage Members
Microsoft.IdentityServer.Web.UI Namespace