Hello Rob, I'm actually calling it on Win XP, if this is what you asked.
Level 4 returns an error. But both level 2 and level 3 have those fields defined though. Jack > JLIST wrote: >> Not sure if anyone has used NetUserGetInfo() API. I call it using >> a LM.pas module that I found online. I'm trying to get level 3 >> properties (also tried level 2) I find that although I'm getting >> most fields back correctly, including name, full name, comments, etc, >> the usri3_code_page and usri3_country_code fields are always 0, >> no matter how I change the language and locale settings in the control >> panel. > Are you asking for that information on a server? Have you tried asking for > level-4 information instead? __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk