Skip to content

UsrMgr_CreateLocalGroup

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.

UsrMgr_CreateLocalGroup(sGroupName, sDescription) As Boolean

Name of the group to create

Description of the group

If bStatus Then bStatus = UsrMgr_CreateLocalGroup("Group","New group description")

Scripting Guidelines

UsrMgr_CreateLocalUser UsrMgr_AddUserToLocalGroup Constants Package Property Variables