RoleExists() публичный Метод

public RoleExists ( string roleName ) : bool
roleName string
Результат bool
Пример #1
0
 public static bool RoleExist(string role)
 {
     CodeFirstRoleProvider rp = new CodeFirstRoleProvider();
     return rp.RoleExists(role);
 }