Get users names list
-
Hi, Can someone help me? Im just trying to get a list of all windows users names in a local computer. GetUserName gives us just the current user: BOOL GetUserName( LPTSTR lpBuffer, LPDWORD lpnSize ); but I dont know :doh: how can I get all the other users in the same machine. Thanks.
-
Hi, Can someone help me? Im just trying to get a list of all windows users names in a local computer. GetUserName gives us just the current user: BOOL GetUserName( LPTSTR lpBuffer, LPDWORD lpnSize ); but I dont know :doh: how can I get all the other users in the same machine. Thanks.
Maybe this link will help - Users in Active Directory Domain Services[^] I chose this link since it also has links to an "old" way to enumerate users :) Mark
"Great job, team. Head back to base for debriefing and cocktails." (Spottswoode "Team America")
-
Hi, Can someone help me? Im just trying to get a list of all windows users names in a local computer. GetUserName gives us just the current user: BOOL GetUserName( LPTSTR lpBuffer, LPDWORD lpnSize ); but I dont know :doh: how can I get all the other users in the same machine. Thanks.
Caos000 wrote:
GetUserName gives us just the current user:
have a look at this http://www.codeproject.com/internet/caanetadminclass.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You