Gets a value indicating whether the specified user is in the specified role for the configured applicationName.
true if the specified user is in the specified role for the configured applicationName; otherwise, false.
The RoleProvider.IsUserInRole(string, string) method is called by the erload:System.Web.Security.Roles.IsUserInRole method of the System.Web.Security.Roles class to determine whether the current logged-on user is associated with a role from the data source for the configured Roles.ApplicationName.
If the specified user name is null or is an empty string, we recommend that your provider throw an exception.
If the specified role name is null or is an empty string, we recommend that your provider throw an exception.