From 37f7925a423b6da0211272eb8a8fca6537ba969c Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Mon, 10 Jun 2013 19:27:45 +0000 Subject: [PATCH] [USRMGR] Enable the call to NetLocalGroupSetInfo. Now we can rename groups. svn path=/trunk/; revision=59203 --- reactos/dll/cpl/usrmgr/groups.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/reactos/dll/cpl/usrmgr/groups.c b/reactos/dll/cpl/usrmgr/groups.c index ba1b4b6640a..42272f6a2ca 100644 --- a/reactos/dll/cpl/usrmgr/groups.c +++ b/reactos/dll/cpl/usrmgr/groups.c @@ -338,7 +338,7 @@ OnEndLabelEdit(LPNMLVDISPINFO pnmv) { TCHAR szOldGroupName[UNLEN]; TCHAR szNewGroupName[UNLEN]; - //LOCALGROUP_INFO_0 lgrpi0; + LOCALGROUP_INFO_0 lgrpi0; NET_API_STATUS status; /* Leave, if there is no valid listview item */ @@ -367,13 +367,9 @@ OnEndLabelEdit(LPNMLVDISPINFO pnmv) return FALSE; /* Change the user name */ - //lgrpi0.lgrpi0_name = szNewGroupName; + lgrpi0.lgrpi0_name = szNewGroupName; -#if 0 status = NetLocalGroupSetInfo(NULL, szOldGroupName, 0, (LPBYTE)&lgrpi0, NULL); -#else - status = NERR_Success; -#endif if (status != NERR_Success) { TCHAR szText[256];