Deletes a user group.
wntGroupDel(server-name, group-name, group-type [,input-format-flag])
(s) server-name: the UNC name of the server on which the function will execute (eg, "\\MYSERVER"), or a blank string ("") to indicate the current machine.
(s) group-name: the name of a group to be deleted.
(i) group-type: @LOCALGROUP or @GLOBALGROUP.
(i) input-format-flag: [optional] controls how the group-name parameter value is interpreted.
Value |
Meaning |
0 |
(default) actual group account name. |
1 |
group-name parameter contains a SID value instead of an actual group account name. |
(s) always 1.
; Load Appropriate Extender AddExtender('wwwnt34i.dll',0,'wwwnt64i.dll')
wntGroupDel("\\Server\L4", "DaGroup", @GLOBALGROUP,0) Message("DaGroup","Group Deleted") Exit