UserNameServiceElement::MembershipProviderName Property

 

Gets or sets a string that specifies the name of a member provider that provides password validation logic.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
[ConfigurationPropertyAttribute("membershipProviderName", DefaultValue = "")]
[StringValidatorAttribute(MinLength = 0)]
property String^ MembershipProviderName {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The name of a member provider that provides password validation logic.

When using username ClientCredentialType on a binding, the usernames are mapped to Windows accounts by default. It is possible to override this behavior using this property, which provides the name of the MembershipProvider that specifies the relevant password validation logic.

.NET Framework
Available since 3.0
Return to top
Show: