MySQLRoleProvider.IsUserInRole Method

MySQL Connector/Net

MySQLRoleProviderIsUserInRole Method

Namespace: MySql.Web.Security
Assembly: MySql.Web (in MySql.Web.dll) Version: 6.9.9
Syntax
public override bool IsUserInRole(
	string username,
	string rolename
)
Public Overrides Function IsUserInRole ( 
	username As String,
	rolename As String
) As Boolean
public:
virtual bool IsUserInRole(
	String^ username, 
	String^ rolename
) override
abstract IsUserInRole : 
        username : string * 
        rolename : string -> bool 
override IsUserInRole : 
        username : string * 
        rolename : string -> bool 

Parameters

username
Type: SystemString
rolename
Type: SystemString

Return Value

Type: Boolean
See Also