JCL Help:DeleteLocalGroup

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Deletes a local group from a Windows NT machine.


Pascal

 function DeleteLocalGroup(const Server: string; const Groupname: string): Boolean;


Parameters

Parameters Description
const Server: string The name of the machine to delete the group account from.
const Groupname: string The name of the group to be deleted.


Return Value

If the function succeeds it returns True, otherwise it returns False.


Description

DeleteLocalGroup deletes a local group from the acount database on the Windows NT machine specified by Server.


See Also

CreateLocalGroup CreateGlobalGroup


About

Unit

JclLANMan


Donator

Peter Friese


Notes

If the function returns False, the user can retrieve extended error information by calling RaiseLastOSException.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page