Hi all,
Is there any way to iterate over names of all the users of the system?
Even if I get the username or SID that would suffice.
–
Kapil Bhadke
Hi all,
Is there any way to iterate over names of all the users of the system?
Even if I get the username or SID that would suffice.
–
Kapil Bhadke
Take a look at PsReferencePrimaryToken to get the ACCESS_TOKEN then
SeQueryInformationToken to get the owner SID.
Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
“kapil bhadke” wrote in message
news:xxxxx@ntfsd:
> Hi all,
>
> Is there any way to iterate over names of all the users of the system?
> Even if I get the username or SID that would suffice.
>
>
> –
> Kapil Bhadke