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?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.