Hi, I'm looking into ways of creating a user group and assigning permissions to that group, I'm slightly confused when it comes to the DLL import side of the code I've been looking at, is there any quick fire way of simply creating a user group?

The DLL I've been importing:

netapi.dll

I've written a working batch file to do this task for me, but due to restrictions on the target system, it is not possible to create a user group this way...

Any help regarding this issue would be greatly appreciated

Thanks