Community discussions

MikroTik App
 
nnn440
just joined
Topic Author
Posts: 2
Joined: Wed May 04, 2022 9:28 pm

How can I use the variable (.nextid) in the User Manager

Wed May 04, 2022 11:17 pm

I have an application with c# and when I open it it takes a lot of delay in load users, sessions and payment.
So I stored the users, sessions and payment in a local database for the application and I want when I open the application again it load only the latest new sessions.

When I use the command
mk.Send("/tool/user-manager/user/print");
mk.Send("?.nextid=*37B84CFD",true);
it does not give any data

and when i use the .id it load data
mk.Send("/tool/user-manager/user/print");
mk.Send("?.id=*37B84CFD",true);
Also use the command in terminal
/tool ​​user-manager user print where .nextid=*37B84CFD 
it does not give any data

How can I do that
 
nnn440
just joined
Topic Author
Posts: 2
Joined: Wed May 04, 2022 9:28 pm

Re: How can I use the variable (.nextid) in the User Manager

Thu May 05, 2022 6:29 pm

Is there a solution to this?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How can I use the variable (.nextid) in the User Manager

Fri May 06, 2022 12:58 pm

Solution? No?

What is .nextid? Is for v7?
I have never used it and if you know what it is for, please explain it to me.

If last user have .id=*37B84CFD

Try like this
/tool ​​user-manager user print where .id>*37B84CFD

Who is online

Users browsing this forum: No registered users and 11 guests