JCL Help:GetLocalGroups

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Retrieves a list of local groups on a Windows NT machine.


Pascal

 function GetLocalGroups(const Server: string; const Groups: TStrings): Boolean;


Parameters

Parameters Description
const Server: string The name of the machine retrieve the list of groups from.
const Groups: TStrings This string list will contain the group names.


Return Value

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


Description

GetLocalGroups retrieves a list of local groups from the account database specified by Server.


See Also

GetGlobalGroups


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