Cette documentation est archivée et n’est pas conservée.

UserNamePasswordServiceCredential.UserNamePasswordValidationMode, propriété

Gets or sets the method of validating the user name and password.

Espace de noms: System.ServiceModel.Security
Assembly : System.ServiceModel (dans system.servicemodel.dll)

public UserNamePasswordValidationMode UserNamePasswordValidationMode { get; set; }
/** @property */
public UserNamePasswordValidationMode get_UserNamePasswordValidationMode ()

/** @property */
public void set_UserNamePasswordValidationMode (UserNamePasswordValidationMode value)

public function get UserNamePasswordValidationMode () : UserNamePasswordValidationMode

public function set UserNamePasswordValidationMode (value : UserNamePasswordValidationMode)

Non applicable.

Valeur de la propriété

A value from the enumeration in UserNamePasswordValidationMode.

Possible values are:

If this property is set to Custom, the service uses the object returned by CustomUserNamePasswordValidator to validate user names and passwords in incoming messages.

When the value of this property is set to MembershipProvider, specify the membership provider by setting the MembershipProvider property, and then the membership provider instance specified by the MembershipProvider property will be used to validate the username and password in incoming messages.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile pour Pocket PC, Windows Mobile pour Smartphone, Windows Server 2003, Windows XP Édition Media Center, Windows XP Professionnel Édition x64, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

.NET Framework

Prise en charge dans : 3.0
Afficher: