The name of the application using the MySQL membership provider.
Namespace: MySql.Web.Security
Assembly: MySql.Web (in MySql.Web.dll) Version: 6.8.4.0
Syntax
C# |
---|
public override string ApplicationName { get; set; } |
Visual Basic |
---|
Public Overrides Property ApplicationName As String
Get
Set |
Visual C++ |
---|
public:
virtual property String^ ApplicationName {
String^ get () override;
void set (String^ value) override;
} |
Field Value
The name of the application using the MySQL membership provider. The default is the
application virtual path.
Remarks
Examples
The following example shows the membership element being used in an applications web.config file.
The application name setting is being used.
| Copy |
---|
<membership defaultProvider="MySQLMembershipProvider">
<providers>
<add name="MySqlMembershipProvider"
type="MySql.Web.Security.MySQLMembershipProvider"
connectionStringName="LocalMySqlServer"
enablePasswordRetrieval="true"
enablePasswordReset="false"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="false"
passwordFormat="Encrypted"
maxInvalidPasswordAttempts="3"
passwordAttemptWindow="20"
minRequiredNonAlphanumericCharacters="1"
minRequiredPasswordLength="11"
applicationName="MyApplication" />
</providers>
</membership> |
See Also