mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[USRMGR]
Enable calls to NetLocalGroupDel and NetUserDel. Now we are able to add and remove groups and users. svn path=/trunk/; revision=59172
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user