From 4c073fdf30bea04e0a0475845194d5be54eaab8f Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Mon, 3 Jun 2013 18:14:46 +0000 Subject: [PATCH] [USRMGR] 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 | 4 ---- reactos/dll/cpl/usrmgr/users.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/reactos/dll/cpl/usrmgr/groups.c b/reactos/dll/cpl/usrmgr/groups.c index 1cdedae1921..ba1b4b6640a 100644 --- a/reactos/dll/cpl/usrmgr/groups.c +++ b/reactos/dll/cpl/usrmgr/groups.c @@ -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]; diff --git a/reactos/dll/cpl/usrmgr/users.c b/reactos/dll/cpl/usrmgr/users.c index 48ce33c3c37..34902ceffe1 100644 --- a/reactos/dll/cpl/usrmgr/users.c +++ b/reactos/dll/cpl/usrmgr/users.c @@ -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];