WMI question

Hi everybody,
I use the following query to link a loginId to a username:
("ASSOCIATORS OF {Win32_LogonSession.LogonId=" & "'" & strLogonID & "'" & "} WHERE AssocClass = Win32_LoggedOnUser")

Works perfect so far, but when i have a LoginType=11 (
Attempt cached credentials without accessing the network) i don't get a loginname back. Can someone tell me how i can resolve this?

With kind regards,
Jurgen

[481 byte] By [jte] at [2007-12-27]

Software Development for Windows Vista

Site Classified