I have been trying to execute NetLocalGroupAddMembers function in the netapi32.dll. Everything seems to be accepted except it always returns code 124. Needless to say..the user was not added to the group. When I looked up this error in MSDN I could only find system error 124 which is ERROR_INVALID_LEVEL "The system call level is not correct." I have no idea what I may have done wrong based on this error. Does anyone know what this means, and how I might go about troubleshooting it?