Jump to content

Featured Replies

Posted

Hello,

 

in my installation process of my programm,

sometimes I need a new user.

A user which is member of 'Power User'.

 

In the script,

I create the user

> net user Tester Password /add

 

and add the user to 'Power User'

>net localgroup "Power User" Tester /add

 

This is OK.

 

But I need this on a lot of different Windows Languages,

and the groups have different names

- in Germany: Hauptbenutzer,

.....

 

With the API function

- NetLocalGroupAddMembers(..., ...)

I have the same problem.

 

I saw,

in a ADs example - they also work the name 'Administrators'.

 

But I need language independent localgroup-names.

 

So long

Frank Iversen

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...