LSDiscoveryFormContext Class

 

Provides the information necessary for a Web form to discover the client home realm.

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

Inheritance Hierarchy

System.Object
  System.Web.Security.SingleSignOn.LSFormContext
    System.Web.Security.SingleSignOn.LSDiscoveryFormContext

Syntax

public sealed class LSDiscoveryFormContext : LSFormContext
public ref class LSDiscoveryFormContext sealed : LSFormContext
[<Sealed>]
type LSDiscoveryFormContext = 
    class
        inherit LSFormContext
    end
Public NotInheritable Class LSDiscoveryFormContext
    Inherits LSFormContext

Properties

Name Description
System_CAPS_pubproperty CurrentAction

Gets an LSFormAction for casting an LSFormContext object to a more specific context type.(Inherited from LSFormContext.)

System_CAPS_pubproperty DiscoveryTable

A DataTable object that contains information used for data discovery.

System_CAPS_pubproperty IsClientNonInteractive

Indicates whether the client is unable to respond to an interactive Web UI.(Inherited from LSFormContext.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static DisplayNameColumn

A column in a data table that contains the display name for a discoverable realm.

System_CAPS_pubfieldSystem_CAPS_static UriColumn

A column in a data table that contains the URI for a discoverable realm.

Remarks

The data table has two columns, "DisplayName" and "Uuid" where each row is a discoverable realm.

Examples

This is suitable for data binding, as shown in the following example:

System.Web.UI.WebControls.ListControl lc
...
lc.DataSource = ((LSDiscoveryFormContext)LSAuthenticationObject.
 Current.FormContext).DiscoveryTable;
lc.DataTextField = LSDiscoveryFormContext.DisplayNameColumn;
lc.DataValueField = LSDiscoveryFormContext.UuidColumn;

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.

See Also

System.Web.Security.SingleSignOn Namespace

Return to top