UserNamePasswordServiceCredential.CustomUserNamePasswordValidator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a custom user name and password validator.
public:
property System::IdentityModel::Selectors::UserNamePasswordValidator ^ CustomUserNamePasswordValidator { System::IdentityModel::Selectors::UserNamePasswordValidator ^ get(); void set(System::IdentityModel::Selectors::UserNamePasswordValidator ^ value); };
public System.IdentityModel.Selectors.UserNamePasswordValidator CustomUserNamePasswordValidator { get; set; }
member this.CustomUserNamePasswordValidator : System.IdentityModel.Selectors.UserNamePasswordValidator with get, set
Public Property CustomUserNamePasswordValidator As UserNamePasswordValidator
Property Value
A custom user name and password validator.
Remarks
The UserNamePasswordValidationMode property must be set to MembershipProvider for the MembershipProvider to take effect. When the MembershipProvider property is set and the UserNamePasswordValidationMode property is not, WCF uses Windows authentication and ignores the value of the MembershipProvider property.
For Custom mode, the service uses UserNamePasswordValidator for user name/password authentication by calling the Validate method.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour