UserNamePasswordClientCredential UserNamePasswordClientCredential UserNamePasswordClientCredential UserNamePasswordClientCredential Class

Definition

Represents a client credential based on user name and password.

public ref class UserNamePasswordClientCredential sealed
public sealed class UserNamePasswordClientCredential
type UserNamePasswordClientCredential = class
Public NotInheritable Class UserNamePasswordClientCredential
Inheritance
UserNamePasswordClientCredentialUserNamePasswordClientCredentialUserNamePasswordClientCredentialUserNamePasswordClientCredential

Remarks

This class enables the user to configure the user name and password for a WCFChannelFactory credential when using user name/password authentication. If the channel factory's binding is not configured to use user name/password-based authentication, the user name and password are not used. If the channel factory's binding is configured to use federated security that requires getting an issued token from a security token service, the user name and password are also presented to the security token service if it requires user name/password authentication.

Properties

Password Password Password Password

Gets or sets the password.

UserName UserName UserName UserName

Gets or sets the user name.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to