LoginParameters Class

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Specifies parameters to authenticate a user in the Login methods on AuthenticationService.

Inheritance Hierarchy

System.Object
  System.ServiceModel.DomainServices.Client.ApplicationServices.LoginParameters

Namespace:  System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public Class LoginParameters
'Usage
Dim instance As LoginParameters
public class LoginParameters
public ref class LoginParameters
type LoginParameters =  class end
public class LoginParameters

The LoginParameters type exposes the following members.

Constructors

  Name Description
Public method LoginParameters() Initializes a new instance of the LoginParameters class with default values.
Public method LoginParameters(String, String) Initializes a new instance of the LoginParameters class with the specified name and password.
Public method LoginParameters(String, String, Boolean, String) Initializes a new instance of the LoginParameters class with the specified name, password, and persistence.

Top

Properties

  Name Description
Public property CustomData Gets optional implementation-specific data.
Public property IsPersistent Gets a value indicating whether the login should persist between sessions.
Public property Password Gets the password of the user to be authenticated.
Public property UserName Gets the name of the user to be authenticated.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace