Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 22nd, 2004, 09:40 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default LookupAccountSid returns NT Pseudo Domain

I am trying to get the user name for a process that is already running (not the current process). I got the process handle and used it to get a token handle, which I use in the Win32 call GetTokenInformation. All this seems to work fine. However, when I try to read the Username of the process using the Win32 call LookupAccountSid, I get NT Pseudo Domain and the SID Type is 3 (which usually is domain) not 1 (which is user). Does anyone have an idea of what might have gone wrong?

Thanks,
Yehuda





Similar Threads
Thread Thread Starter Forum Replies Last Post
Same pages for sub domain from main domain vivek_inos ASP.NET 1.0 and 1.1 Professional 1 February 13th, 2007 10:15 AM
hover / focus pseudo-class query socoolbrewster CSS Cascading Style Sheets 1 January 22nd, 2007 04:45 PM
http://domain or http://www.domain anshul HTML Code Clinic 9 August 11th, 2004 01:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.