







![]() ![]() |
MySQL Connector/Net |
MySQLRoleProvider..::..IsUserInRole Method |
MySQLRoleProvider Class See Also Send Feedback |
![]() |
Determines whether [is user in role] [the specified username].
Namespace: MySql.Web.Security
Assembly: MySql.Web (in MySql.Web.dll) Version: 6.8.4.0
Syntax
C# |
---|
public override bool IsUserInRole( string username, string rolename ) |
Visual Basic |
---|
Public Overrides Function IsUserInRole ( _ username As String, _ rolename As String _ ) As Boolean |
Visual C++ |
---|
public: virtual bool IsUserInRole( String^ username, String^ rolename ) override |
Parameters
- username
- Type: System..::..String
The username.
- rolename
- Type: System..::..String
The rolename.
Return Value
true if [is user in role] [the specified username]; otherwise, false.
See Also