josuetex / mikrotik4net

Automatically exported from code.google.com/p/mikrotik4net
Other
0 stars 0 forks source link

Using parameters #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. apiConnector.ApiExecuteScalar("/ip/hotspot/user/print", new 
Dictionary<string, string> { { "where", "name=user1" } })
2.
3.

What is the expected output? What do you see instead?
I want to get line for this one user but it gives me error about unknown 
parameter or gives me list of users.

What version of the product are you using? On what operating system?
Latest, I downloaded this yesterday.

Please provide any additional information below.

Original issue reported on code.google.com by e.lubiko...@gmail.com on 26 Apr 2012 at 7:13

GoogleCodeExporter commented 9 years ago
Ok, it's not so important because you can get Array of users and then cut that 
one you want.
Set, create and delete are in other methods - that's why I was asking about one 
user.

Great job with this project!

Original comment by e.lubiko...@gmail.com on 26 Apr 2012 at 7:49

GoogleCodeExporter commented 9 years ago
Hi,
if I understand your situation (without testing it) I think, that you have to 
use parameters like this: new Dictionary<string, string> { { "name", "user1" } }

I will try setup some example.

Danik

Original comment by da...@danik.biz on 28 Sep 2012 at 9:45