Edit

Share via


UserNameServiceElement.MembershipProviderName Property

Definition

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

public:
 property System::String ^ MembershipProviderName { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("membershipProviderName", DefaultValue="")]
[System.Configuration.StringValidator(MinLength=0)]
public string MembershipProviderName { get; set; }
[<System.Configuration.ConfigurationProperty("membershipProviderName", DefaultValue="")>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.MembershipProviderName : string with get, set
Public Property MembershipProviderName As String

Property Value

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

Attributes

Remarks

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.

Applies to