ApplicationName Property

MySQL Connector/Net

Gets or sets the name of the application to store and retrieve role information for.

Namespace:  MySql.Web.Security
Assembly:  MySql.Web (in MySql.Web.dll) Version: 6.2.2.0

Syntax

C#
public override string ApplicationName { get; set; }
Visual Basic (Declaration)
Public Overrides Property ApplicationName As String
Visual C++
public:
virtual property String^ ApplicationName {
	String^ get () override;
	void set (String^ value) override;
}

Field Value

The name of the application to store and retrieve role information for.

Examples

CopyC#
<roleManager defaultProvider="MySqlProvider"
  enabled="true">
  <providers>
    <add
      name="MySqlProvider"
      type="MySql.Web.Security.MySQLRoleProvider"
      connectionStringName="LocalMySqlServices"
      writeExceptionsToEventLog="false" 
      applicationName="MyApplication" />
  </providers>
</roleManager>

See Also