Erik

Have not tested your code or Lonks update of your code, but...

If IsLocalAdmin('Domain Users')

Since you use an ENGLISH name, I doubt that could be used World Wide. The 'Domain Users' I'm sure is different in different languages.

Maybe TranslateName() could also be used for International usage or Howards Win32Admin DLL
{edit - On second thought I don't think either would address that particular issue }

http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=12;t=000178

Were rather lucky I guess. We have 1,000s of users around the Globe, but "most" use the English version of Windows so I don't have to deal with the Multi Language issue that much.

[ 29. August 2003, 10:01: Message edited by: NTDOC ]