[USRMGR]
authorEric Kohl <eric.kohl@reactos.org>
Mon, 3 Jun 2013 18:14:46 +0000 (18:14 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Mon, 3 Jun 2013 18:14:46 +0000 (18:14 +0000)
Enable calls to NetLocalGroupDel and NetUserDel. Now we are able to add and remove groups and users.

svn path=/trunk/; revision=59172

reactos/dll/cpl/usrmgr/groups.c
reactos/dll/cpl/usrmgr/users.c

index 1cdedae..ba1b4b6 100644 (file)
@@ -277,11 +277,7 @@ GroupDelete(HWND hwndDlg)
         return FALSE;
 
     /* Delete the group */
-#if 0
     status = NetLocalGroupDel(NULL, szGroupName);
-#else
-    status = NERR_Success;
-#endif
     if (status != NERR_Success)
     {
         TCHAR szText[256];
index 48ce33c..34902ce 100644 (file)
@@ -347,11 +347,7 @@ UserDelete(HWND hwndDlg)
         return FALSE;
 
     /* Delete the user */
-#if 0
     status = NetUserDel(NULL, szUserName);
-#else
-    status = NERR_Success;
-#endif
     if (status != NERR_Success)
     {
         TCHAR szText[256];