UsrMgr_CreateLocalGroup
Description
Section titled “Description”Creates a local group on the computer. If a local group with the same name already exists, the function returns True without changing the existing group.
Syntax
Section titled “Syntax”UsrMgr_CreateLocalGroup(sGroupName, sDescription) As Boolean
Parameters
Section titled “Parameters”sGroupName (String)
Section titled “sGroupName (String)”Name of the group to create
sDescription (String)
Section titled “sDescription (String)”Description of the group
Example
Section titled “Example”If bStatus Then bStatus = UsrMgr_CreateLocalGroup("Group","New group description")Related functions
Section titled “Related functions”UsrMgr_CreateLocalUser UsrMgr_AddUserToLocalGroup Constants Package Property Variables