Modifies information about a group.
wntGroupEdit(server-name, group, group-type, request, value [,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: is the name of a group to be deleted.
(i) group-type: @LOCALGROUP or @GLOBALGROUP.
(i) request: the element to be modified. See below.
(i/s) value: specifies the new value to be set for the element.
(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.
"request" specifies the element to be modified, and can be the following:
Request |
Element |
1 |
Group Comment |
Note: This function can only be performed by members of the Administrators or Account Operators local group.
; Load Appropriate Extender AddExtender('wwwnt34i.dll',0,'wwwnt64i.dll')
wntGroupEdit("\\Server\L4", "DaGroup", @GLOBALGROUP,1,"Comment goes here",0) Message("DaGroup","Comment was Edited") Exit