
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2010 10:43 PM

Any advice on how I can search on a username for last x logons? I used to hack the code that searched users, but can't really do that with the new version since it only has 1 search box for everything.
This SQL will do what I want, but not sure the best way to pass the username:
select TOP 40 C.Computer, L.Username, L.logontime, L.Ipaddress from tblCPlogoninfo L join tblcomputers C on L.computername = C.computername
where L.Username like 'cr%'
order by L.logontime desc
One thought I had.... create a report listing unique username, and create a link from there to call a stored procedure. But, not sure how to create a link in a report to pass the parameter.

- Labels:
-
Archive

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2010 11:59 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2010 12:44 AM
Lansweeper wrote:
Could you try the update of today (service 4.0.0.24) this fixes the problem.
Works like a champ! Thanks for the quick fix.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2010 07:20 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2010 11:43 PM
Lansweeper wrote:
Is there any error in your errorlog regarding user lookup?
Lots of them.... 2 for every scan - 1 for computer & 1 for user
This is the test user..I changed the names of these:
domain\computer$
computer
domain\userid
4/28/2010 9:46:25 AM: Unknown error (0x80005000)
4/28/2010 9:51:51 AM: domain\computer$ Active directory computer lookup Unknown error (0x80005000)
4/28/2010 9:52:37 AM: computer User lookup Unknown error (0x80005000) domain\userid

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2010 07:04 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2010 07:08 PM
Lansweeper wrote:
Which is your service version?
4.0.0.21
I ran the upgrade you suggested above.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2010 09:56 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2010 10:46 PM
Lansweeper wrote:
The users need to be rescanned, next time a user is found it will be added to the table.
How do I scan the users?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2010 11:16 AM
76012 wrote:
How do I scan the users?
Just wait until news scans are done.
